interface ErrorHandler : Handler<RoutingContext>
A pretty error handler for rendering error pages.
Author
Tim Fox
static val DEFAULT_DISPLAY_EXCEPTION_DETAILS: Boolean
Should exception details be displayed by default? |
|
static val DEFAULT_ERROR_HANDLER_TEMPLATE: String
The default template to use for rendering |
open static fun create(): ErrorHandler
Create an error handler using defaults open static fun create(errorTemplateName: String, displayExceptionDetails: Boolean): ErrorHandleropen static fun create(displayExceptionDetails: Boolean): ErrorHandleropen static fun create(errorTemplateName: String): ErrorHandler
Create an error handler |