Exception: Rest::Wrappers::TyphoeusTimeoutError

Inherits:
TimeoutError show all
Defined in:
lib/rest/wrappers/typhoeus_wrapper.rb

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ TyphoeusTimeoutError

Returns a new instance of TyphoeusTimeoutError.



8
9
10
11
# File 'lib/rest/wrappers/typhoeus_wrapper.rb', line 8

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