Skip to content

thiagogarbazza/node-business-error

Repository files navigation

node-business-error

Build Status License

Installation

Using NPM

npm install --save business-error

Usage

const {BusinessCase, BusinessError} = require('business-error');

const 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.

About

Create an instance representing an error for a business validation

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published