Exception: Posthaste::RateLimited
- Inherits:
-
APIStatusError
- Object
- StandardError
- Error
- APIStatusError
- Posthaste::RateLimited
- Defined in:
- lib/posthaste/errors.rb
Overview
A transient throttle. Honour retry_after_seconds and come back.
Covers rate_limited (this key's request rate) and platform_paused (the
platform's own daily send ceiling). Both clear on their own.
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