MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isTransientCapacityError

Function isTransientCapacityError

src/services/api/withRetry.ts:106–110  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

104}
105
106function isTransientCapacityError(error: unknown): boolean {
107 return (
108 is529Error(error) || (error instanceof APIError && error.status === 429)
109 )
110}
111
112function isStaleConnectionError(error: unknown): boolean {
113 if (!(error instanceof APIConnectionError)) {

Callers 2

withRetryFunction · 0.85
shouldRetryFunction · 0.85

Calls 1

is529ErrorFunction · 0.85

Tested by

no test coverage detected