(error: unknown)
| 50 | } |
| 51 | |
| 52 | function asError(error: unknown): Error { |
| 53 | if (error instanceof Error) return error; |
| 54 | return new Error(typeof error === "string" ? error : JSON.stringify(error)); |
| 55 | } |
| 56 | |
| 57 | function logLine(message: string): void { |
| 58 | console.log(`[${new Date().toISOString()}] ${message}`); |
no outgoing calls
no test coverage detected