pub fn exit_with(err: Error) -> !
Print err the app’s way — the program name, the message (Display, not the Debug dump) — and exit 1. A plain Result main would print Error: {err:?} instead.
err
Result
Error: {err:?}