cortex-command-errors

v1.0.3
Gracefully handle error hints for cortex commands.
cortex errors handler

cortex-command-errors NPM version Build Status Dependency Status

Gracefully handle error hints for cortex commands.

Install

$ npm install cortex-command-errors --save

Usage

var handler = require('cortex-command-errors')(options);

something.on('error', handler);

options

  • logger: {Object}
  • profile: {Object}
  • harmony: {Boolean} if true, fatal errors will only write to error logs rather than kill the process.
  • notify: {Boolean} if true, the errors will be displayed in the notification bar.

License

MIT

npm i cortex-command-errors

Metadata

  • MIT
  • >=0.10.0
  • kael
  • released 9/10/2014

Downloads

Maintainers