vertx / io.vertx.ext.stomp / StompClientConnection / errorHandler

errorHandler

abstract fun errorHandler(handler: Handler<Frame>): StompClientConnection

Sets a handler notified when an ERROR frame is received by the client. The handler receives the ERROR frame and a reference on the StompClientConnection.

Parameters

handler - the handler

Return
the current StompClientConnection