getResultOrThrow

open fun getResultOrThrow(): T

Return

the value, or throws the TerminalException of a failure.