business-error

0.0.7 • Public • Published

node-business-error

Build Status License

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

npm i business-error

Weekly Downloads

1

Version

0.0.7

License

MIT

Last publish

Collaborators

  • thiagogarbazza