MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / RateLimitError

Class RateLimitError

src/services/api/errors.py:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55
56class RateLimitError(Exception):
57 def __init__(
58 self,
59 message: str = "Rate limit exceeded",
60 status: int = 429,
61 retry_after: float | None = None,
62 ):
63 super().__init__(message)
64 self.status = status
65 self.retry_after = retry_after
66
67
68class OverloadedError(Exception):

Callers 8

operationMethod · 0.90
test_default_statusMethod · 0.90
test_retry_afterMethod · 0.90
opMethod · 0.90
test_retryable_errorsMethod · 0.90

Calls

no outgoing calls

Tested by 8

operationMethod · 0.72
test_default_statusMethod · 0.72
test_retry_afterMethod · 0.72
opMethod · 0.72
test_retryable_errorsMethod · 0.72