getOrThrow

fun getOrThrow(): T

The success value, or throws SolidResultException carrying the error (and its cause).