Function dotfiles_core::error::process_until_first_err
source ยท pub fn process_until_first_err<I, F, E>(
iterable: I,
process_function: F
) -> Result<(), E>
Expand description
Executes the process_function
on each of the items in the iterable
, and then returns
Ok(())
. It stops execution if any of the process functions returns an Error, and returns said
error.