vertx / io.vertx.reactivex.ext.unit.report / TestSuiteReport / exceptionHandler

exceptionHandler

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

Overrides ReadStream.exceptionHandler

Set an exception handler, the exception handler reports the test suite errors, it can be called mulitple times before the test ends.

Parameters

handler - the exception handler

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