Skip to main content

classify_outcome

Function classify_outcome 

Source
pub(crate) fn classify_outcome(
    outcome: Result<ScriptExit, InvokeError>,
    operation: Operation,
    timeout_secs: u64,
) -> Result<(), IntegrationError>
Expand description

Translates a ScriptRunner::run result into a rotation outcome, implementing the README’s exit-code and timeout tables.