(cause: unknown)
| 45 | const EXECUTION_FILENAME = "executor-quickjs-runtime.js"; |
| 46 | |
| 47 | const toError = (cause: unknown): Error => |
| 48 | cause instanceof Error ? cause : new Error(String(cause)); |
| 49 | |
| 50 | // Defect surfaced to the sandbox when a tool dispatch reaches the |
| 51 | // reject path. Two sources reach here: |
no outgoing calls
no test coverage detected