Exception: GorgonBunny::NetworkErrorWrapper

Inherits:
Exception
  • Object
show all
Defined in:
lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(other) ⇒ NetworkErrorWrapper

Returns a new instance of NetworkErrorWrapper.



217
218
219
220
# File 'lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb', line 217

def initialize(other)
  super(other.message)
  @other = other
end

Instance Attribute Details

#otherObject (readonly)

Returns the value of attribute other.



215
216
217
# File 'lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb', line 215

def other
  @other
end