vertx / io.vertx.rxjava.mqtt / MqttClient / exceptionHandler

# exceptionHandler

`open fun exceptionHandler(handler: Handler<Throwable>): MqttClient`

Set an exception handler for the client, that will be called when an error happens in internal netty structures. `io.netty.handler.codec.DecoderException` can be one of the cause

### Parameters

`handler` - the exception handler

Return
current MQTT client instance