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