Exception: Rest::Wrappers::TyphoeusTimeoutError
- Inherits:
-
TimeoutError
- Object
- StandardError
- RestError
- ClientError
- TimeoutError
- Rest::Wrappers::TyphoeusTimeoutError
- Defined in:
- lib/rest/wrappers/typhoeus_wrapper.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ TyphoeusTimeoutError
constructor
A new instance of TyphoeusTimeoutError.
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 |