3.2.2 • Published 5 years ago
@cotep/errors v3.2.2
@cotep/errors
@cotep/errors handle errors more precisely. You can add your own errors codes and descriptions, handle precise stacktraces.
It's a must have tool to debug your application easily.
Declare your errors, setup a function wrapper you put everywhere and enjoy the help!
Example of what you can achieve with it :
Installation
npm i --save @cotep/errors
Run the provided example
clone the github
run the following commands :
npm i
npm run runExample
Development
Want to contribute? Great!
Todos
- Write More Tests
- Write More example
- Makes it to inherit Error
- Write complete documentation
License
MIT