MCPcopy Create free account
hub / github.com/agenticsorg/edge-agents / RateLimitError

Class RateLimitError

scripts/agents/devops/src/aws/base.py:79–84  ·  view source on GitHub ↗

Exception raised when AWS API rate limits are exceeded.

Source from the content-addressed store, hash-verified

77
78
79class RateLimitError(AWSServiceError):
80 """Exception raised when AWS API rate limits are exceeded."""
81
82 def __init__(self, message: str, wait_time: Optional[int] = None):
83 suggestion = f"Wait for {wait_time} seconds before retrying." if wait_time else "Reduce the frequency of API calls or implement exponential backoff."
84 super().__init__(message, suggestion)
85
86
87class ResourceLimitError(AWSServiceError):

Callers 1

handle_errorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected