src/main/java/javascalautils/Failure.java
@Override
    public Try<T> recover(ThrowableFunction1<Throwable, T> function) {
        return recoverWith(t -> Success(function.apply(t)));
    }
@Override
    public Try<T> recover(ThrowableFunction1<Throwable, T> function) {
        return recoverWith(t -> Success(function.apply(t)));
    }
Applies the provided function to the Throwable of this {@link Failure} and returns a {@link Success} with the result.

@since 1.4