(cause: unknown)
| 65 | const EXECUTION_FILENAME = "executor-quickjs-runtime.js"; |
| 66 | |
| 67 | const toError = (cause: unknown): Error => |
| 68 | cause instanceof Error ? cause : new Error(String(cause)); |
| 69 | |
| 70 | // Defect surfaced to the sandbox when a tool dispatch reaches the |
| 71 | // reject path. Two sources reach here: |
no outgoing calls
no test coverage detected