You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Exception: Seahorse::Client::NetworkingError

Inherits:
StandardError
  • Object
show all
Defined in:
aws-sdk-core/lib/seahorse/client/networking_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error, msg = nil) ⇒ NetworkingError

Returns a new instance of NetworkingError.



5
6
7
8
9
# File 'aws-sdk-core/lib/seahorse/client/networking_error.rb', line 5

def initialize(error, msg = nil)
  super(msg || error.message)
  set_backtrace(error.backtrace)
  @original_error = error
end

Instance Attribute Details

#original_errorObject (readonly)

Returns the value of attribute original_error.



11
12
13
# File 'aws-sdk-core/lib/seahorse/client/networking_error.rb', line 11

def original_error
  @original_error
end