vertx / io.vertx.reactivex.core.http / HttpConnection / exceptionHandler

exceptionHandler

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

Set an handler called when a connection error happens

Parameters

handler - the handler

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