Exception: AMQP::ConnectionClosedError

Inherits:
Error
  • Object
show all
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

#cause

Instance Method Summary collapse

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