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

Function isAbortDuringClose

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

Source from the content-addressed store, hash-verified

1399 }
1400
1401 const isAbortDuringClose = (error: Error): boolean =>
1402 error.name === "AbortError" || error.message.toLowerCase().includes("aborted");
1403
1404 const reportError = (context: string, cause: unknown) => {
1405 const error = toError(cause);

Callers 1

reportErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected