Skip to main content

error_kind_and_code

Function error_kind_and_code 

Source
pub fn error_kind_and_code(err: &(dyn Error + 'static)) -> (&'static str, i32)
Expand description

Map an error to its kind string and exit code.