cortex-command-errors

1.0.3 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.30latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.30
1.0.20
1.0.13
1.0.00
0.1.11
0.1.00

Package Sidebar

Install

npm i cortex-command-errors

Weekly Downloads

4

Version

1.0.3

License

MIT

Last publish

Collaborators

  • kael
  • spud