@CompileStatic class ErrorHandler
A pretty error handler for rendering error pages.
| Constructor and description |
|---|
ErrorHandler
(Object delegate) |
| Type | Name and description |
|---|---|
static ErrorHandler |
create()Create an error handler using defaults |
static ErrorHandler |
create(String errorTemplateName, boolean displayExceptionDetails)Create an error handler |
static ErrorHandler |
create(boolean displayExceptionDetails)Create an error handler |
static ErrorHandler |
create(String errorTemplateName)Create an error handler |
Object |
getDelegate() |
void |
handle(RoutingContext arg0) |
Create an error handler using defaults
Create an error handler
errorTemplateName - the error template name - will be looked up from the classpathdisplayExceptionDetails - true if exception details should be displayedCreate an error handler
displayExceptionDetails - true if exception details should be displayedCreate an error handler
errorTemplateName - the error template name - will be looked up from the classpathio.vertx:vertx-web:3.1.0