Exception: Seahorse::Client::Http::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Seahorse::Client::Http::Error
- Defined in:
- lib/seahorse/client/http/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) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(error, msg = nil) ⇒ Error
Returns a new instance of Error.
6 7 8 9 10 |
# File 'lib/seahorse/client/http/error.rb', line 6 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.
12 13 14 |
# File 'lib/seahorse/client/http/error.rb', line 12 def original_error @original_error end |