MCPcopy Create free account
hub / github.com/Louisym/MiniCC / __init__

Method __init__

mini_claude_code/retry.py:52–55  ·  view source on GitHub ↗
(self, status_code: int, message: str = "")

Source from the content-addressed store, hash-verified

50 RETRYABLE_STATUS_CODES = {408, 409, 429, 500, 502, 503, 504}
51
52 def __init__(self, status_code: int, message: str = ""):
53 self.status_code = status_code
54 self.is_retryable = status_code in self.RETRYABLE_STATUS_CODES
55 super().__init__(f"HTTP {status_code}: {message}" if message else f"HTTP {status_code}")
56
57
58class ConnectionApiError(ApiError):

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected