vertx / io.vertx.reactivex.mqtt / MqttEndpoint / exceptionHandler

exceptionHandler

open fun exceptionHandler(handler: Handler<Throwable>): MqttEndpoint

Set an exception handler. This will be called when an error at protocol level happens

Parameters

handler - the handler

Return
a reference to this, so the API can be used fluently