Three main ways to deliver an error in Node.js throw the error pass the error to a callback emit an error event on an EventEmitter i guess you are looking for something like that: const EventEmitter = require ( 'events' ); class MyEmitter extends EventEmitter {} const myEmitter = new MyEmitter(); process.on( 'uncaughtException' , (err) => { console .log( 'whoops! there was an error' ); }); myEmitter.emit( 'error' , new Error ( 'whoops!' )); // Prints: whoops! there was an error