sperror
v1.0.0
Published
A package to display more user-friendly errors
Downloads
69
Readme
sperror
Description
This package consists of a simple, customized error that allows to create errors with messages to display to the user.
Usage
- Install the package
npm install sperror
- Import it in your js file
const Sperror = require('sperror')
- Call it to create an error
// Example const err = new Sperror('Error', 'This is an error created with Sperror!', 500)
Contact
Noa Houssier - Github