vertx / io.vertx.rxjava.core.eventbus / Message / fail

fail

open fun fail(failureCode: Int, message: String): Unit

Signal to the sender that processing of this message failed.

If the message was sent specifying a result handler the handler will be called with a failure corresponding to the failure code and message specified here.

Parameters

failureCode - A failure code to pass back to the sender

message - A message to pass back to the sender