pub fn try<T, E>(value: Result<T, E>, error_message: &str) -> T
Attempts to unwrap a Result. If it’s an Err, exit program with given error message.
Result
Err