vertx / io.vertx.ext.web.handler / ErrorHandler / create

create

open static fun create(): ErrorHandler

Create an error handler using defaults

Return
the handler

open static fun create(errorTemplateName: String, displayExceptionDetails: Boolean): ErrorHandler

Create an error handler

Parameters

errorTemplateName - the error template name - will be looked up from the classpath

displayExceptionDetails - true if exception details should be displayed

Return
the handler

open static fun create(displayExceptionDetails: Boolean): ErrorHandler

Create an error handler

Parameters

displayExceptionDetails - true if exception details should be displayed

Return
the handler

open static fun create(errorTemplateName: String): ErrorHandler

Create an error handler

Parameters

errorTemplateName - the error template name - will be looked up from the classpath

Return
the handler