business-error
0.0.7 • Public • Published node-business-error
Installation
Using NPM
npm install --save business-error
Usage
var BusinessCase = require('business-error').Case;
var BusinessError = require('business-error').Error;
var businessCase = new BusinessCase('code', 'Any business validation message');
throw new BusinessError('a business error', businessCase);
License
The node-business-error
project is under MIT license.
Package Sidebar
Install
Weekly Downloads