Exception: AMQP::ChannelClosedError
- Inherits:
-
Error
- Object
- StandardError
- Error
- 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)
-
- (ChannelClosedError) initialize(instance)
constructor
A new instance of ChannelClosedError.
Constructor Details
- (ChannelClosedError) initialize(instance)
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 |