vertx / io.vertx.ext.web.api.contract / DesignDrivenRouterFactory / addFailureHandler

addFailureHandler

abstract fun addFailureHandler(method: HttpMethod, path: String, failureHandler: Handler<RoutingContext>): DesignDrivenRouterFactory<Any>

Add a failure handler to a path with a method. If combination path/method is not available in specification, it will throw a RouterFactoryException

Parameters

method -

path -

failureHandler -

Return