core / pragma / PragmaResult / getOrThrow /

getOrThrow #

fun getOrThrow(): TSuccess

Returns the held value if this is a success, or throws an IllegalStateException if not.