Classes
Methods
(static) ErrorHandler.create(errorTemplateName, displayExceptionDetails) → {ErrorHandler}
Create an error handler
Parameters:
Name | Type | Description |
---|---|---|
errorTemplateName |
string | the error template name - will be looked up from the classpath |
displayExceptionDetails |
boolean | true if exception details should be displayed |
- Source:
Returns:
the handler
- Type
- ErrorHandler