(error: Error)
| 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); |