Exception: Uber::TyphoeusTimeoutError

Inherits:
TimeoutError show all
Defined in:
lib/simple_worker/uber_client.rb

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ TyphoeusTimeoutError

Returns a new instance of TyphoeusTimeoutError.



57
58
59
60
# File 'lib/simple_worker/uber_client.rb', line 57

def initialize(response)  
  msg ||= "HTTP Request Timed out. Curl code: #{response.curl_return_code}. Curl error msg: #{response.curl_error_message}."
  super(msg)
end