pub fn assert_err<T: Debug, E>( result: Result<T, E>, msg: &str, ) -> Result<(), String>
Assert that a Result is Err