Skip to content

Latest commit

 

History

History
48 lines (27 loc) · 1.05 KB

File metadata and controls

48 lines (27 loc) · 1.05 KB

@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