vertx / io.vertx.ext.web.api.contract / RouterFactoryOptions / setValidationFailureHandler

# setValidationFailureHandler

`open fun setValidationFailureHandler(validationFailureHandler: Handler<RoutingContext>): RouterFactoryOptions`

Set default validation failure handler. You can enable/disable this feature from `RouterFactoryOptions#setMountValidationFailureHandler(boolean)`

### Parameters

`validationFailureHandler` -

Return
this object