onFailure
Runs action on the failure if this is a DataResult.Failure, and returns this result either way.
Return
This result, for chaining.
Parameters
action
What to do with the error.
Runs action on the failure if this is a DataResult.Failure, and returns this result either way.
This result, for chaining.
What to do with the error.