MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isAbortDuringClose

Function isAbortDuringClose

apps/cli/src/main.ts:1441–1442  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

1439 }
1440
1441 const isAbortDuringClose = (error: Error): boolean =>
1442 error.name === "AbortError" || error.message.toLowerCase().includes("aborted");
1443
1444 const reportError = (context: string, cause: unknown) => {
1445 const error = toError(cause);

Callers 1

reportErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected