Exception: Excon::Errors::SocketError
- Defined in:
- lib/excon/errors.rb
Instance Attribute Summary collapse
-
#socket_error ⇒ Object
readonly
Returns the value of attribute socket_error.
Instance Method Summary collapse
-
#initialize(socket_error = nil) ⇒ SocketError
constructor
A new instance of SocketError.
Constructor Details
#initialize(socket_error = nil) ⇒ SocketError
Returns a new instance of SocketError.
9 10 11 12 13 |
# File 'lib/excon/errors.rb', line 9 def initialize(socket_error=nil) super(socket_error.) set_backtrace(socket_error.backtrace) @socket_error = socket_error end |
Instance Attribute Details
#socket_error ⇒ Object (readonly)
Returns the value of attribute socket_error.
7 8 9 |
# File 'lib/excon/errors.rb', line 7 def socket_error @socket_error end |