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