public interface ErrorHandler extends Handler<RoutingContext>
| Modifier and Type | Field and Description | 
|---|---|
static String | 
DEFAULT_ERROR_HANDLER_TEMPLATE
The default template to use for rendering 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ErrorHandler | 
create()
Create an error handler using defaults 
 | 
static ErrorHandler | 
create(boolean displayExceptionDetails)
Create an error handler 
 | 
static ErrorHandler | 
create(String errorTemplateName)
Create an error handler 
 | 
static ErrorHandler | 
create(String errorTemplateName,
      boolean displayExceptionDetails)
Create an error handler 
 | 
static final String DEFAULT_ERROR_HANDLER_TEMPLATE
static ErrorHandler create()
static ErrorHandler create(String errorTemplateName, boolean displayExceptionDetails)
errorTemplateName - the error template name - will be looked up from the classpathdisplayExceptionDetails - true if exception details should be displayedstatic ErrorHandler create(boolean displayExceptionDetails)
displayExceptionDetails - true if exception details should be displayedstatic ErrorHandler create(String errorTemplateName)
errorTemplateName - the error template name - will be looked up from the classpathCopyright © 2020 Eclipse. All rights reserved.