Exception: Excon::Error::ProxyConnectionError
- Inherits:
-
Excon::Error
- Object
- StandardError
- Excon::Error
- Excon::Error::ProxyConnectionError
- Defined in:
- lib/excon/error.rb
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(msg, request = nil, response = nil) ⇒ ProxyConnectionError
constructor
A new instance of ProxyConnectionError.
Methods inherited from Excon::Error
Constructor Details
#initialize(msg, request = nil, response = nil) ⇒ ProxyConnectionError
Returns a new instance of ProxyConnectionError.
57 58 59 60 61 |
# File 'lib/excon/error.rb', line 57 def initialize(msg, request = nil, response = nil) super(msg) @request = request @response = response end |
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
55 56 57 |
# File 'lib/excon/error.rb', line 55 def request @request end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
55 56 57 |
# File 'lib/excon/error.rb', line 55 def response @response end |