If a KResult has a Throwable on failure side, this either returns the Success.value or throws the Failure.error
T if result is a Success
if result is a Failure