Exception: Bunny::NotAllowedError
- Defined in:
- lib/bunny/exceptions.rb
Overview
Can indicate either a channel or connection-level issue
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
-
#connection_close ⇒ Object
readonly
Returns the value of attribute connection_close.
Instance Method Summary collapse
-
#initialize(message, connection, connection_close = nil) ⇒ NotAllowedError
constructor
A new instance of NotAllowedError.
Constructor Details
#initialize(message, connection, connection_close = nil) ⇒ NotAllowedError
Returns a new instance of NotAllowedError
55 56 57 58 59 60 |
# File 'lib/bunny/exceptions.rb', line 55 def initialize(, connection, connection_close = nil) super() @connection = connection @connection_close = connection_close end |
Instance Attribute Details
#connection ⇒ Object (readonly)
Returns the value of attribute connection
53 54 55 |
# File 'lib/bunny/exceptions.rb', line 53 def connection @connection end |
#connection_close ⇒ Object (readonly)
Returns the value of attribute connection_close
53 54 55 |
# File 'lib/bunny/exceptions.rb', line 53 def connection_close @connection_close end |