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

exceptionHandler

abstract 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