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