Exception: AMQP::ConnectionClosedError
- Defined in:
- lib/amqp/exceptions.rb
Overview
Raised on attempt to use a connection that was previously closed
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(frame) ⇒ ConnectionClosedError
constructor
A new instance of ConnectionClosedError.
Constructor Details
#initialize(frame) ⇒ ConnectionClosedError
Returns a new instance of ConnectionClosedError.
82 83 84 |
# File 'lib/amqp/exceptions.rb', line 82 def initialize(frame) super("The connection is closed, you can't use it anymore!") end |