CliError¶
Import: import system.cli;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
CliError¶
Invalid invocation, command definition, or typed lookup; help and version are successful outcomes.
constructor¶
Creates an error with a stable machine code and diagnostic text.
code¶
EINVAL for definitions, EARGS for invocations, ENOENT for missing values, or ETYPE for incorrect getters.
message¶
Human-readable diagnostic; invocation failures include usage guidance.