Exception: AMQP::ChannelClosedError
- Defined in:
- lib/amqp/exceptions.rb
Overview
Raised on attempt to use a channel that was previously closed (either due to channel-level exception or intentionally via AMQP::Channel#close).
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(instance) ⇒ ChannelClosedError
constructor
A new instance of ChannelClosedError.
Constructor Details
#initialize(instance) ⇒ ChannelClosedError
Returns a new instance of ChannelClosedError.
74 75 76 |
# File 'lib/amqp/exceptions.rb', line 74 def initialize(instance) super("Channel with id = #{instance.channel} is closed, you can't use it anymore!") end |