(error: unknown)
| 71 | import * as NodeStream from "./NodeStream.ts" |
| 72 | |
| 73 | const toError = (error: unknown): Error => |
| 74 | error instanceof globalThis.Error |
| 75 | ? error |
| 76 | : new globalThis.Error(String(error)) |
| 77 | |
| 78 | const toPlatformError = ( |
| 79 | method: string, |
no test coverage detected