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