Exception: Faraday::TimeoutError
- Inherits:
-
ServerError
- Object
- StandardError
- Error
- ServerError
- Faraday::TimeoutError
- Defined in:
- lib/faraday/error.rb
Overview
A unified client error for timeouts.
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(exc = 'timeout', response = nil) ⇒ TimeoutError
constructor
A new instance of TimeoutError.
Methods inherited from Error
#backtrace, #inspect, #response_body, #response_headers, #response_status
Constructor Details
#initialize(exc = 'timeout', response = nil) ⇒ TimeoutError
Returns a new instance of TimeoutError.
137 138 139 |
# File 'lib/faraday/error.rb', line 137 def initialize(exc = 'timeout', response = nil) super(exc, response) end |