sails-hook-errorhandler

2.1.0 • Public • Published

sails-hook-errorhandler

NPM Version NPM Downloads Build Status bitHound Overall Score bitHound Dependencies bitHound Dev Dependencies bitHound Code Codacy Badge Code Climate Issue Count

About

A sails hook for errors.

NPM

Settings

Install

npm install sails-hook-errorhandler

Define at config/seed.js

module.exports.errorhandler = {
  modelCodes: {
    User: "11" //some model and some code
  }
}

Package Sidebar

Install

npm i sails-hook-errorhandler

Weekly Downloads

0

Version

2.1.0

License

MIT

Last publish

Collaborators

  • sanjorgek