Exception: GorgonBunny::NetworkFailure
- Defined in:
- lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb
Overview
Indicates a network failure. If automatic network recovery mode is enabled, these will be typically handled by the client itself.
Instance Attribute Summary collapse
- #cause ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(message, cause) ⇒ NetworkFailure
constructor
A new instance of NetworkFailure.
Constructor Details
#initialize(message, cause) ⇒ NetworkFailure
Returns a new instance of NetworkFailure.
15 16 17 18 |
# File 'lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb', line 15 def initialize(, cause) super() @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
13 14 15 |
# File 'lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb', line 13 def cause @cause end |