Skip to main content

report_cli_failure_msg_and_exit

Function report_cli_failure_msg_and_exit 

Source
pub fn report_cli_failure_msg_and_exit(ctx: &str, msg: impl Display) -> !
Expand description

Report a fatal CLI subcommand failure with a non-CamelError error type.

Same semantics as report_cli_failure_and_exit, for use when the underlying error is not a CamelError (e.g., std::io::Error from signal handling, anyhow::Error from a dependency).