app-error-to-express-response
v1.0.5
Published
A simple utility class extending Error useful in REST API, which simplifies reporting errors via HTTP responses.
Downloads
3
Readme
App Error To Express Response
A simple utility class AppError
extending Error htat is useful in REST API.
The calss has a custom field called code that must contain a value corresponding to the HTTP error status code.