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

# errorHandler

`open 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 io.vertx.rxjava.ext.stomp.StompClientConnection.

### Parameters

`handler` - the handler

Return
the current io.vertx.rxjava.ext.stomp.StompClientConnection