pub fn print_cli_error(err: &(dyn Error + 'static))Expand description
Print a CLI error to stderr in a form an operator can act on.
Downcasts to vta_sdk::error::VtaError when possible and emits a
tailored remediation hint for the common failure modes (auth, network,
forbidden, validation). Falls back to the raw error message + source
chain for anything else, so unknown failures still get their underlying
cause surfaced.
Call this from the top-level CLI match instead of eprintln!("Error: {e}") — the raw form loses auth/network context that operators need
to fix things themselves.