Exception: Seahorse::Client::NetworkingError

Inherits:
StandardError
  • Object
show all
Defined in:
gems/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.



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.message)
  set_backtrace(error.backtrace)
  @original_error = error
end

Instance Attribute Details

#original_errorObject (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