catchWithResult

inline fun <R> catchWithResult(block: ReturnBlockScope.() -> R): Result<R>

Transforms the value of the Result using the given block that returns another Result.