onFailure
Executes an action if the result is Failure, without modifying the original error.
Return
The same DataResult for chaining.
Parameters
action
Action to execute on the Failure error.
Executes an action if the result is Failure, without modifying the original error.
The same DataResult for chaining.
Action to execute on the Failure error.