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
handler - the exception handler
Return
current MQTT client instance