All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added details to errors
- Added captureStackTrace
- Changes the way that the errors and Custom Error are exported by the
module.exports
- Fixed tests of Unauthorized error to test the right name of the class
- JSDoc type for errors, extending the Custom Error definition
- Added toJSON function in CustomError to creates an object with code and message of the error
- Export JSDoc notation for the errors and CustomError file
- Readme and contributing files, with examples
- 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