onFailed

Perform an action if the result was unsuccessful.

Return

The original result.

Parameters

block

The action to perform if the result was unsuccessful.