orThrow

open override fun orThrow(): Nothing

Throws an Exception if the result is a failure.