Error codes

CLI_DEFECT

The CLI failed unexpectedly.

Exit code: 1 · Who acts: Capxul · From: the CLI only

What it means

The CLI failed unexpectedly.

Common causes

  • A defect in the CLI.

Fix it

  1. Update the CLI.
  2. If it continues, report it to Capxul support with the error details.

In JSON and the SDK

With --json, the CLI prints:

{
  "outcome": "failed",
  "error": {
    "code": "CLI_DEFECT",
    "message": "…"
  }
}

Only the CLI answers with this code. The SDK never returns it. Branch on the code, not on the message: the message is written for people and can change.

Commands that can answer with it

Every command can answer with this code.

On this page