Package 

Class DeprecatedKt

    • Method Summary

      Modifier and Type Method Description
      final static <R extends Any, S extends R, F extends Throwable> Try<R, Void> recover(Try<S, F> $self, Function1<F, R> transform) 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • recover

        @Deprecated(message = Use getOrElse instead., level = DeprecationLevel.ERROR, replaceWith = @ReplaceWith(imports = {}, expression = getOrElse)) final static <R extends Any, S extends R, F extends Throwable> Try<R, Void> recover(Try<S, F> $self, Function1<F, R> transform)

        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.