-
Notifications
You must be signed in to change notification settings - Fork 1
Implement RateLimitError #19
Copy link
Copy link
Open
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignCampaign: Official Campaignarea:errorspriority:p2type:feature
Metadata
Metadata
Assignees
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignCampaign: Official Campaignarea:errorspriority:p2type:feature
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
Raised on HTTP 429 responses when retries are exhausted or disabled. Exposes
retry_after(seconds) so the caller can implement their own wait logic.Proposed Steps
RateLimitError(ShadeError)inerrors.py.retry_after: Optional[int]attribute.Retry-Afterheader before raising.Acceptance Criteria
RateLimitError.error.retry_afterreflects theRetry-Afterheader value.Retry-Afteris absent,error.retry_afterisNone.