Skip to main content

finish_recovery

Function finish_recovery 

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

The saga’s last row: compensated when every inverse worked, an error (which the caller records as failed_compensation) otherwise.