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