pub fn report_and_exit<E, R>(e: E) -> R where
    E: AsRef<dyn Error>, 
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.