Invoked when a client error occurs, that is, an error in the 4xx series.
Invoked when a client error occurs, that is, an error in the 4xx series.
The request that caused the client error.
The error status code. Must be greater or equal to 400, and less than 500.
The error message.
Invoked when a server error occurs.
Invoked when a server error occurs.
The request that triggered the server error.
The server error.
A lazy HTTP error handler, that looks up the error handler from the current application
(Since version 2.7.0) Access the global state. Inject a HttpErrorHandler instead