Exception: Excon::Error::ProxyConnectionError

Inherits:
Excon::Error
  • Object
show all
Defined in:
lib/excon/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Excon::Error

status_error, status_errors

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

#requestObject (readonly)

Returns the value of attribute request.



55
56
57
# File 'lib/excon/error.rb', line 55

def request
  @request
end

#responseObject (readonly)

Returns the value of attribute response.



55
56
57
# File 'lib/excon/error.rb', line 55

def response
  @response
end