code: @SuppressWarnings("unchecked")
      public static <T extends Throwable, A> Try<T, A> trying(CheckedSupplier<T, A> supplier) {
          try {
              return success(supplier.get());
          } catch (Throwable t) {
              return failure((T) t);
          }
      }
docs: Execute <code>supplier</code>, returning a success <code>A</code> or a failure of the thrown {@link Throwable}.
  
  @param supplier the supplier
  @param <T>      the possible {@link Throwable} type
  @param <A>      the possible success type
  @return a new {@link Try} around either a successful A result or the thrown {@link Throwable}