-
Notifications
You must be signed in to change notification settings - Fork 227
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Motivations
Currently an error thrown by a http handler gets transformed into a 500 Internal server error
- Would you like to implement this feature? [y/n]
With some help I could try it, yes.
Solution
It would increase the qualtiy of error handling if its possible to map specific internal errors to error codes.
By giving the possibility to register a custom error handler that maps errors like parsing errors of a json object to an 400 Bad request for example.
Alternatives
Additional context
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done