code: public static <T extends Throwable, A> Try<T, A> success(A a) {
          return new Success<>(a);
      }
docs: Static factory method for creating a success value.
  
  @param a   the wrapped value
  @param <T> the failure parameter type
  @param <A> the success parameter type
  @return a success value of a