Skip to main content

outcome_of

Function outcome_of 

Source
pub(crate) fn outcome_of(
    done: &OneShotOutcome,
    ok_codes: &[i64],
) -> Result<Value, String>
Expand description

What the command came to, as the block’s output; a code that is not an ok one fails the block.