Class: RelicLink::Errors::RateLimitError
- Inherits:
-
HttpRequestError
- Object
- Faraday::Error
- ServerError
- HttpRequestError
- RelicLink::Errors::RateLimitError
- Defined in:
- lib/relic_link/errors/server_error.rb
Overview
Raised when a 429 is returned in an API response.
Instance Attribute Summary
Attributes inherited from ServerError
Instance Method Summary collapse
-
#initialize(response) ⇒ RateLimitError
constructor
A new instance of RateLimitError.
Constructor Details
#initialize(response) ⇒ RateLimitError
Returns a new instance of RateLimitError.
41 42 43 |
# File 'lib/relic_link/errors/server_error.rb', line 41 def initialize(response) super('rate_limited', response) end |