(error: Error)
| 1446 | } |
| 1447 | |
| 1448 | const isAbortDuringClose = (error: Error): boolean => |
| 1449 | error.name === "AbortError" || error.message.toLowerCase().includes("aborted"); |
| 1450 | |
| 1451 | const reportError = (context: string, cause: unknown) => { |
| 1452 | const error = toError(cause); |