Skip to main content

mark_failed

Function mark_failed 

Source
pub fn mark_failed(
    paths: &HostPaths,
    step_id: &str,
    step_version: u32,
) -> Result<()>
Expand description

Replace any prior record for step_id with a failure and save.

On load failure, starts from an empty ResumeState instead of aborting.

ยงErrors

Propagates save errors (Io, Json).