Exception: Seahorse::Client::NetworkingError
- Inherits:
-
StandardError
- Object
- StandardError
- Seahorse::Client::NetworkingError
- Defined in:
- lib/seahorse/client/networking_error.rb
Instance Attribute Summary collapse
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
Instance Method Summary collapse
-
#initialize(error, msg = nil) ⇒ NetworkingError
constructor
A new instance of NetworkingError.
Constructor Details
#initialize(error, msg = nil) ⇒ NetworkingError
Returns a new instance of NetworkingError.
5 6 7 8 9 |
# File 'lib/seahorse/client/networking_error.rb', line 5 def initialize(error, msg = nil) super(msg || error.) set_backtrace(error.backtrace) @original_error = error end |
Instance Attribute Details
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
11 12 13 |
# File 'lib/seahorse/client/networking_error.rb', line 11 def original_error @original_error end |