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

Function isAbortError

web/lib/api/client.ts:24–29  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

22}
23
24function isAbortError(err: unknown): boolean {
25 return (
26 err instanceof Error &&
27 (err.name === "AbortError" || err.message.toLowerCase().includes("aborted"))
28 );
29}
30
31function sleep(ms: number): Promise<void> {
32 return new Promise((resolve) => setTimeout(resolve, ms));

Callers 2

fetchWithRetryMethod · 0.70
requestMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected