LegacyFrontendErrorHandler
FrontendErrorHandler should be used instead, which supports asynchronous rendering and doesn't pretend to provide a Request (rather than RequestHeader), where no request body is available.
Attributes
- Deprecated
-
[Since version 9.0.0] - Graph
-
- Supertypes
-
trait I18nSupporttrait I18NSupportLowPriorityImplicitstrait HttpErrorHandlerclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Adds convenient methods to handle the messages.
Adds convenient methods to handle the messages.
Attributes
- Inherited from:
- I18NSupportLowPriorityImplicits
- Supertypes
-
class Objecttrait Matchableclass Any
Adds convenient methods to handle the client-side language
Adds convenient methods to handle the client-side language
Attributes
- Inherited from:
- I18NSupportLowPriorityImplicits
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Abstract methods
Concrete methods
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.
Value parameters
- message
-
The error message.
- request
-
The request that caused the client error.
- statusCode
-
The error status code. Must be greater or equal to 400, and less than 500.
Attributes
- Definition Classes
-
HttpErrorHandler
Invoked when a server error occurs.
Invoked when a server error occurs.
Value parameters
- exception
-
The server error.
- request
-
The request that triggered the server error.
Attributes
- Definition Classes
-
HttpErrorHandler
Inherited methods
Attributes
- Inherited from:
- I18nSupport
Implicits
Inherited implicits
Adds convenient methods to handle the messages.
Adds convenient methods to handle the messages.
Attributes
- Inherited from:
- I18NSupportLowPriorityImplicits
Adds convenient methods to handle the client-side language
Adds convenient methods to handle the client-side language
Attributes
- Inherited from:
- I18NSupportLowPriorityImplicits
Converts from a request directly into a Messages.
Converts from a request directly into a Messages.
Value parameters
- request
-
the incoming request
Attributes
- Returns
-
The preferred Messages according to the given play.api.mvc.RequestHeader
- Inherited from:
- I18nSupport