Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6
'use strict'; require('../common'); // custom error throwing // eslint-disable-next-line no-throw-literal throw ({ name: 'MyCustomError', message: 'This is a custom message' });