failureOrNull

Returns Failure.failure, or null if this outcome is not a failure.