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

Function isAbortDuringClose

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

Source from the content-addressed store, hash-verified

1410 }
1411
1412 const isAbortDuringClose = (error: Error): boolean =>
1413 error.name === "AbortError" || error.message.toLowerCase().includes("aborted");
1414
1415 const reportError = (context: string, cause: unknown) => {
1416 const error = toError(cause);

Callers 1

reportErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected