fn handle_machine_clap_error(err: Error) -> !Expand description
Convert a clap error into a structured machine-mode envelope and exit.
DisplayHelp/DisplayVersion(explicit--help/--version) → success envelope wrapping clap’s already-rendered, context-aware text (so e.g.cast call --helpyieldscast callhelp, not root help), exit0.- Everything else (parse errors, missing subcommand, missing required arg, conflict, including
DisplayHelpOnMissingArgumentOrSubcommand, which is clap’s “render help because args were missing” — i.e. a usage failure, not a help request) → error envelope withcli.usage.invalid, exit2.