recover Catching
inline fun <R, T : R> Resultat<T>.recoverCatching(recoverLoading: Boolean = false, transform: (exception: Throwable) -> R): Resultat<R>
Content copied to clipboard
Returns the encapsulated result of the given transform function applied to the encapsulated Throwable exception if this instance represents failure or the original encapsulated value if it is success.