Exception: Posthaste::QuotaExhausted
- Inherits:
-
APIStatusError
- Object
- StandardError
- Error
- APIStatusError
- Posthaste::QuotaExhausted
- Defined in:
- lib/posthaste/errors.rb
Overview
The account's allowance is spent — Retry-After is hours or days.
A SIBLING of RateLimited, never a subclass. Retrying this in process burns your own request budget on calls that are all going to be refused until the calendar moves. Queue it, or alert.
Instance Attribute Summary
Attributes inherited from Error
#body, #request_id, #retry_after_seconds, #status, #type
Method Summary
Methods inherited from Error
#error_field, #initialize, #inspect, #quota_exhausted?, #rate_limited?, #transient?
Constructor Details
This class inherits a constructor from Posthaste::Error