This repository has been archived by the owner on Mar 30, 2021. It is now read-only.
Releases: 4alltecnologia/http-errors
Releases · 4alltecnologia/http-errors
Little Changes
Test Fixing and Class Names
[1.0.4]
Fixed
- Fixed tests of Unauthorized error to test the right name of the class
toJSON function and JSDoc arts
[1.0.2]
Added
- Added toJSON function in CustomError to creates an object with code and message of the error
First release. Starting the magic!
[1.0.0]
Added
- Add Custom Error class to create errors as wished
- Add basic defaults erros as Bad Request, Internal Server Error, Not Found, Not Implemented and Unauthorized
- Add full test coverage