Skip to main content

terminate_with_nothing_to_undo

Function terminate_with_nothing_to_undo 

Source
fn terminate_with_nothing_to_undo(
    state: &AppState,
    saga: &UnresolvedSaga,
) -> Result<(), String>
Expand description

No forward state to undo and no pending steps: the saga reached start_saga but either crashed before any step succeeded, or every step failed cleanly. Mark it compensated to clear it from the unresolved set.