class
Crabbit::BrokerError
- Crabbit::BrokerError
- Crabbit::Error
- Exception
- Reference
- Object
Overview
Raised when RabbitMQ returns a non-success ResponseCode.
Defined in:
crabbit/errors.crConstructors
-
.new(code : ResponseCode, message : String | Nil = nil)
Creates an error for code with an optional custom message.
Instance Method Summary
-
#code : ResponseCode
Returns the broker response code.
Constructor Detail
Creates an error for code with an optional custom message.