Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Releases: 4alltecnologia/http-errors

Little Changes

19 May 20:52
Compare
Choose a tag to compare

[1.0.5]

Changed

  • Changes the way that the errors and Custom Error are exported by the module.exports

Test Fixing and Class Names

19 May 20:37
Compare
Choose a tag to compare

[1.0.4]

Fixed

  • Fixed tests of Unauthorized error to test the right name of the class

toJSON function and JSDoc arts

19 May 18:47
Compare
Choose a tag to compare

[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!

07 May 11:59
Compare
Choose a tag to compare

[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