errorOrThrow

Returns the Failure error, or throws if the outcome is a Success.

See also

Throws

if the receiver is a Success.