Class: RelicLink::Errors::TimeoutError
- Inherits:
-
HttpRequestError
- Object
- Faraday::Error
- ServerError
- HttpRequestError
- RelicLink::Errors::TimeoutError
- Defined in:
- lib/relic_link/errors/server_error.rb
Overview
Raised when an API request times out.
Instance Attribute Summary
Attributes inherited from ServerError
Instance Method Summary collapse
-
#initialize(response) ⇒ TimeoutError
constructor
A new instance of TimeoutError.
Constructor Details
#initialize(response) ⇒ TimeoutError
Returns a new instance of TimeoutError.
48 49 50 |
# File 'lib/relic_link/errors/server_error.rb', line 48 def initialize(response) super('timeout_error', response) end |