Expand description
The error codes the daemon emits in JobError::code.
These are string constants rather than an enum so the set can grow without breaking clients that match on strings, and so a client built against an older version meets an unfamiliar code rather than a decode failure.
Constants§
- CANCELLED
- The job was cancelled by request.
- CAPABILITY_
DENIED - A guest tried to reach something its spec does not grant.
- MODEL_
LOAD_ FAILED - The job’s model could not be loaded or served.
- NOT_
FOUND - A path the job may read names nothing.
- SCHEMA_
VALIDATION_ FAILED - Job input did not match the spec’s declared shape.
- SCRIPT_
ERROR - A Script-kind block’s own logic failed at run time — a Rhai runtime
error (e.g. an out-of-bounds index, a missing function) surfacing
from inside the script itself.
catalog addrejects a script whose body doesn’t parse, so this is specifically a failure that only shows up once the script actually runs; it is not a schema mismatch, so it does not reuseSCHEMA_VALIDATION_FAILED. - TIMEOUT
- The job exceeded its time budget.
- UNSUPPORTED
- A command needed a capability this build does not have — asking for a page image without document rendering compiled in, say.
- WASM_
TRAP - The guest trapped — a panic, a bad export signature, or malformed wasm.