CodedError: JS Exception + code + message
Throwing an exception:
var CodedError = ;
Checking whether an exception has a specific code:
;
Or this can be automatically done for you, using Bluebird's catch:
Throwing an exception:
var CodedError = ;
Checking whether an exception has a specific code:
;
Or this can be automatically done for you, using Bluebird's catch:
npm i coded-error
0
1.0.6
ISC