pub fn cli_error_event(error: &CliError) -> EventExpand description
Wrap a CLI-resolution failure in an event whose code names the failure.
The classification lives in code, the way document_path_not_found and
its siblings already do — not in a second field beside a generic
cli_error. One error taxonomy, one place to read it, and the skill’s
standing instruction (“branch on error.code”) covers CLI errors too.
The event never carries raw argument values; message names the offending
argument, and hint says what to run next.