Exception: Seahorse::Client::NetworkingError
- Inherits:
-
StandardError
- Object
- StandardError
- Seahorse::Client::NetworkingError
- Defined in:
- gems/aws-sdk-core/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.
7 8 9 10 11 |
# File 'gems/aws-sdk-core/lib/seahorse/client/networking_error.rb', line 7 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.
13 14 15 |
# File 'gems/aws-sdk-core/lib/seahorse/client/networking_error.rb', line 13 def original_error @original_error end |