The wrapped failure, or null if this is a Success.
null
Failure? get errorOrNull => switch (this) { Success<T>() => null, Error<T>(:final failure) => failure, };