Most/Docs

most-cli errors show

One functionality's causes: what failed, why, what is shown, the fix, the code, the exit status and the test.

Invocation#

sh
most-cli errors show <functionality> [--markdown]

Purpose#

One functionality's causes: what failed, why, what is shown, the fix, the code, the exit status and the test.

Inputs and options#

  • `<functionality>` (required, positional 1): a functionality `errors list` names.
  • `--markdown`: the documentation form instead of JSON.

Output and state effect#

Reads nothing and contacts no service: prints one functionality of the failure catalogue built into this binary.

Refusals#

  • `reading the arguments of errors: errors takes `list [--markdown]` or `show <functionality> [--markdown]`` — exit 2. Fix: run `most-cli errors list` for every functionality, or `most-cli errors show <functionality>` for one (cause `most.agent.errors.verb-unknown`).
  • `reading the arguments of errors show: no functionality is named {id}` — exit 2. Fix: run `most-cli errors show` with one of them (cause `most.agent.errors.functionality-unknown`).