@wiredcraft/service-error
v1.0.1
Published
An extended Error class which helps to initialize error and log error easily
Downloads
82
Readme
ServiceError
Intro
An extended Error Class basing on es6-error. It helps you intialize the error instance with some extra fields and logging it easily.
see: https://xavierchow.github.io/talk_error_handling_in_nodejs/#/
How to use
npm i @wiredcraft/service-error
usage: https://github.com/Wiredcraft/service-error/blob/master/test/index.test.js
License
MIT