Function tor_error::report::report_and_exit

source ·
pub fn report_and_exit<E, R>(e: E) -> R
where E: AsRef<dyn StdError>,
Expand description

Report the error E to stderr, and exit the program

Does not return. Return type is any type R, for convenience with eg unwrap_or_else.