Type Alias: SandboxErrorCode
ts
type SandboxErrorCode =
| "TIMEOUT"
| "MEMORY"
| "SYNTAX"
| "RUNTIME"
| "OUTPUT_TOO_LARGE"
| "INVALID_CODE"
| "UNAVAILABLE"
| "ABORTED";Defined in: packages/core/src/sandbox/SandboxEngine.ts:102
Error codes for sandbox execution failures.
TIMEOUT: Script exceeded the time limitMEMORY: Isolate ran out of memory (auto-recovered)SYNTAX: JavaScript syntax error in the provided codeRUNTIME: Script threw an error during executionOUTPUT_TOO_LARGE: Result exceedsmaxOutputBytesINVALID_CODE: Failed the SandboxGuard fail-fast checkUNAVAILABLE:isolated-vmis not installedABORTED: Execution was cancelled via AbortSignal (client disconnect)