Exception: AMQP::Client::Error::ChannelClosed

Inherits:
AMQP::Client::Error show all
Defined in:
lib/amqp/client/errors.rb

Overview

Raised if channel is already closed

Instance Method Summary collapse

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