vertx / io.vertx.reactivex.core / Context / exceptionHandler

exceptionHandler

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

Set an exception handler called when the context runs an action throwing an uncaught throwable. When this handler is called, io.vertx.reactivex.core.Vertx#currentContext will return this context.

Parameters

handler - the exception handler

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