Skip to main content

collect_errors

Function collect_errors 

Source
pub fn collect_errors(errors: Vec<Error>) -> Result<()>
Expand description

Collect multiple errors from a batch dispatch. Returns Ok(()) if the vec is empty, or Err containing the first error otherwise.