(error: Error)
| 1376 | } |
| 1377 | |
| 1378 | const isAbortDuringClose = (error: Error): boolean => |
| 1379 | error.name === "AbortError" || error.message.toLowerCase().includes("aborted"); |
| 1380 | |
| 1381 | const reportError = (context: string, cause: unknown) => { |
| 1382 | const error = toError(cause); |