Exception: Bunny::MessageNacked
- Defined in:
- lib/bunny/exceptions.rb
Overview
Raised when a published message is nacked by the broker and publisher confirm tracking is enabled.
Instance Attribute Summary collapse
- #delivery_tag ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(message, delivery_tag) ⇒ MessageNacked
constructor
A new instance of MessageNacked.
Constructor Details
#initialize(message, delivery_tag) ⇒ MessageNacked
Returns a new instance of MessageNacked.
221 222 223 224 |
# File 'lib/bunny/exceptions.rb', line 221 def initialize(, delivery_tag) super() @delivery_tag = delivery_tag end |
Instance Attribute Details
#delivery_tag ⇒ Object (readonly)
219 220 221 |
# File 'lib/bunny/exceptions.rb', line 219 def delivery_tag @delivery_tag end |