pub fn vec_has_error<T, E>(target: &[Result<T, E>]) -> bool { target.iter().any(|t| t.is_err()) }