(timeoutMs: number)
| 107 | const looksLikeInterruptedError = (message: string): boolean => /\binterrupted\b/i.test(message); |
| 108 | |
| 109 | const timeoutMessage = (timeoutMs: number): string => |
| 110 | `QuickJS execution timed out after ${timeoutMs}ms`; |
| 111 | |
| 112 | const normalizeExecutionError = (cause: unknown, deadlineMs: number, timeoutMs: number): string => { |
| 113 | const message = toErrorMessage(cause); |
no outgoing calls
no test coverage detected