1.0.1 • Published 6 years ago
node_end v1.0.1
node_end
var node_end = require('node_end');
function error () {
console.log('will error');
node_end.error('It's an error');
console.log('will not display');
}
// The node process will shutdown with exitCode 787.
// You can catch it in main process
error();
// will error