vertx / io.vertx.rxjava.ext.unit / TestContext / fail

fail

open fun fail(): Unit

Throw a failure.

open fun fail(message: String): Unit

Throw a failure with the specified failure message.

Parameters

message - the failure message

open fun fail(cause: Throwable): Unit

Throw a failure with the specified failure cause.

Parameters

cause - the failure cause