CliExitCodes class
The exit-code vocabulary for the standard CLI contract (FR-002, FR-009).
- Annotations
Constructors
Properties
- circularRef → int
-
A cross-app invocation chain detected a cycle. Used by
CircularReferenceException (FR-009 edge case "circular command
references").
final
- conflict → int
-
A name conflict was detected at registration time. Used by
AmbiguousCommandException (FR-009 edge case "ambiguous / conflicting
command names").
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- notFound → int
-
The requested command is not registered. Used by
UnknownCommandException (FR-009 edge case "unknown / mistyped
command").
final
- runtime → int
-
Runtime error inside a command handler. The handler threw; the user
should see a stack trace with
--verbose.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → int
-
Operation succeeded. Mirrors POSIX convention.
final
- usage → int
-
Usage error (bad args, unknown flag, missing required arg). Mirrors
sysexits.h EX_USAGE(64).final - versionMismatch → int
-
A cross-app invocation referenced a command whose published version is
below the requested minimum. Used by VersionMismatchException (FR-009
edge case "version mismatch between sharing apps").
final
-
vocabulary
→ Map<
String, int> -
The full vocabulary, as a name → code map, for help / introspection.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- standard → const CliExitCodes
- The standard exit-code vocabulary used by every Zuraffa CLI app by default. Apps may override individual codes, but doing so breaks the SC-002 consistency surface — override at your peril.