class

Crabbit::BrokerError

Inherits Crabbit::Error < Exception < Reference < Object

Raised when RabbitMQ returns a non-success ResponseCode.

Constructors

new(code : ResponseCode, message : String | Nil = nil)

Creates an error for code with an optional custom message.

Source

Instance methods

code

Returns the broker response code.

Source