getOrThrow
Returns the value if the result is Success, or throws an exception if it is Failure.
Use with caution - this method breaks safe error processing.
Return
Value of type T from Success.
Throws
if the result is Failure.
Returns the value if the result is Success, or throws an exception if it is Failure.
Use with caution - this method breaks safe error processing.
Value of type T from Success.
if the result is Failure.