pub fn handle_error(error: &str, code: i32)
Prints given error message to the standard error with application name and then exits the application with specified error code