asKotlinFailure

Wraps this Throwable directly as a KotlinResult failure. No exception catching.


Wraps this value as a KotlinResult failure by converting it to a Throwable first. No exception catching.