Exception: AMQP::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/amqp/exceptions.rb

Overview

Base class for AMQP connection lifecycle exceptions.

Direct Known Subclasses

ChannelClosedError, ConnectionClosedError, IncompatibleOptionsError, PossibleAuthenticationFailureError, TCPConnectionFailed

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) cause (readonly)

An exception in one of the underlying libraries that caused this exception to be re-thrown. May be nil.



9
10
11
# File 'lib/amqp/exceptions.rb', line 9

def cause
  @cause
end