error Or Null
Returns the Failure error, or null if the outcome is a Success.
Note: null is ambiguous when Error is itself a nullable type. Use errorOrDefault or errorOrElse in that case.
Returns the Failure error, or null if the outcome is a Success.
Note: null is ambiguous when Error is itself a nullable type. Use errorOrDefault or errorOrElse in that case.