'use strict'; require('../common'); // custom error throwing // eslint-disable-next-line no-throw-literal throw ({ name: 'MyCustomError', message: 'This is a custom message' });