1.0.5 • Published 3 years ago
app-error-to-express-response v1.0.5
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.