Exception: AMQP::Client::Error::ChannelClosed
- Inherits:
-
AMQP::Client::Error
- Object
- StandardError
- AMQP::Client::Error
- AMQP::Client::Error::ChannelClosed
- Defined in:
- lib/amqp/client/errors.rb
Overview
Raised if channel is already closed
Instance Method Summary collapse
-
#initialize(id, code, reason, classid = 0, methodid = 0) ⇒ ChannelClosed
constructor
A new instance of ChannelClosed.
Constructor Details
#initialize(id, code, reason, classid = 0, methodid = 0) ⇒ ChannelClosed
Returns a new instance of ChannelClosed.
50 51 52 |
# File 'lib/amqp/client/errors.rb', line 50 def initialize(id, code, reason, classid = 0, methodid = 0) super "Channel[#{id}] closed (#{code}) #{reason} (#{classid}/#{methodid})" end |