Exception: Equipoise::RateLimitError
- Defined in:
- lib/equipoise/errors.rb
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Attributes inherited from ApiError
#code, #details, #response, #status
Instance Method Summary collapse
-
#initialize(message = nil, retry_after: nil, **opts) ⇒ RateLimitError
constructor
A new instance of RateLimitError.
Methods inherited from ApiError
class_for, default_message, from_response, #retryable?
Methods inherited from Error
Constructor Details
#initialize(message = nil, retry_after: nil, **opts) ⇒ RateLimitError
Returns a new instance of RateLimitError.
124 125 126 127 |
# File 'lib/equipoise/errors.rb', line 124 def initialize( = nil, retry_after: nil, **opts) super(, **opts) @retry_after = retry_after end |
Instance Attribute Details
#retry_after ⇒ Object (readonly)
Returns the value of attribute retry_after.
122 123 124 |
# File 'lib/equipoise/errors.rb', line 122 def retry_after @retry_after end |