code: public static <T, X extends Throwable> Try<T, X> failure(final X error) {
          return new Try<>(Either.left(
              error),new Class[0]);
      }
docs: Construct a Failure instance from a throwable (an implementation of Try)
  <pre>
  {@code
  Failure<Exception> failure = Try.failure(new RuntimeException());
  }
  </pre>
  
  @param error for Failure
  @return new Failure with error