asResult

Transforms a KResult to a Kotlin native kotlin.Result

As Kotlin's Result strinctly expects a Throwable as error / failure type, this method is only available on KResult instances having a Throwable subtype on their Failure side.

Since

0.2.0

See also

KResult.asKResult

to transform a Kotlin Result to a KResult