← index

UsageError

inherits Error · defined at core/00-bootstrap.qn:215

A command line that doesn't fit its [CLI]Spec — unknown option, missing value, missing required argument, a value outside values:. [CLI]Spec.parseFrom: throws it (testable); the production parse catches it, prints the message + usage to stderr, and exits 2.