printable_error

Function printable_error 

Source
pub fn printable_error<S: AsRef<str>>(
    program_name: &'static str,
    message: S,
) -> PrintableErrno<S>
Expand description

Creates an error out of the program name and the supplied message. Useful when an Errno isn’t present, but the program wants to signal a problem to the user and possibly exit if it’s fatal.