Skip to main content

collect_process_errors

Function collect_process_errors 

Source
pub fn collect_process_errors(
    statuses: &HashMap<String, ProcessStatus>,
    names: &[String],
) -> Result<()>
Expand description

Port of collectProcessErrors: checks the final state of each named process and returns a combined error for any that exited abnormally. Processes in the “interrupted” state are not treated as errors since they were stopped intentionally (e.g. via SIGTERM from the user).