vertx / io.vertx.grpc / GrpcWriteStream / fail

fail

abstract fun fail(t: Throwable): GrpcWriteStream<T>

Send an error event into the stream.

Parameters

t - any error

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