Error codes
WORK_DIED
Background work for this request stopped unexpectedly.
Exit code: 5 · Who acts: Capxul · From: the CLI, the SDK and the backend
What it means
Background work for this request stopped unexpectedly.
Common causes
- A defect in Capxul.
Fix it
- Contact Capxul support with the request reference.
In JSON and the SDK
With --json, the CLI prints:
{
"outcome": "failed",
"error": {
"code": "WORK_DIED",
"message": "…"
}
}In the SDK, a failed result has result.error.code === "WORK_DIED". Branch on the code, not on the message: the message is written for people and can change.
Commands that can answer with it
No command lists this code. It can still come from the SDK or the backend.