error Or Raise
context(scope: RaiseScope<OuterError>)
fun <OuterError, Ok : OuterError, InnerError> Outcome<Ok, InnerError>.errorOrRaise(): InnerError
fun <OuterError, Ok : OuterError, InnerError> Outcome<Ok, InnerError>.errorOrRaise(): InnerError
Returns the Failure error, or short-circuits the surrounding RaiseScope with the Success value.
Equivalent to flattening and swapping from the inside: the inner success propagates outward as a raised error. This does not throw — it uses RaiseScope.shortCircuit to unwind.