run Catching Outcome Block
Executes the block that returns an Outcome, catching any exceptions.
Return
The Outcome from block, or a Failure if an exception occurs.
Parameters
block
The function that returns an Outcome.
Executes the block that returns an Outcome, using this value as context, catching any exceptions.
Return
The Outcome from block, or a Failure if an exception occurs.
Parameters
block
The function that returns an Outcome.