Skip to main content

flatten_errs

Function flatten_errs 

Source
pub fn flatten_errs(errs: Vec<impl Into<Error>>) -> Result<()>
Expand description

Flattens a list of errors into a single Error, joining their messages with newlines.

Returns Ok(()) if errs is empty.