Skip to main content

each

Function each 

Source
pub fn each(
    root: &Path,
    sdds: &[SddHandle],
    one: impl FnMut(&SddHandle) -> Result<u8, CoreError>,
) -> u8
Expand description

One verb run over several SDDs: one is run for each — an error from one is reported under its name and the rest still run — and the exit code is the worst of theirs: an unexpected error before any refusal or finding.