vertx / io.vertx.rxjava.ext.web.api.contract / RouterFactory / addFailureHandler

# addFailureHandler

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

Add a failure handler to a path with a method. If combination path/method is not available in specification, it will throw a io.vertx.rxjava.ext.web.api.contract.RouterFactoryException. Deprecated in favour of operation id

### Parameters

`method` -

`path` -

`failureHandler` -

Return