Class: RelicLink::Errors::RateLimitError

Inherits:
HttpRequestError show all
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

#response

Instance Method Summary collapse

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