The default route to use when redirecting a failed post request that did not have a referer.
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.
An HttpErrorHandler that responds with an AjaxResponse for ajax requests and a full server-rendered page for non-ajax requests.
https://www.playframework.com/documentation/2.5.x/ScalaErrorHandling