code: public static Predicate<? super Throwable> statusCode(int... codes) {
          return t -> t instanceof ClientV2Exception &&
              Arrays.stream(codes).anyMatch(candidate -> ((ClientV2Exception) t).getCode().equals(candidate));
      }
docs: A predicate that returns {@code true} if the exception is a {@link ClientV2Exception} and its code matches expectation
  
  @param codes the codes to match
  @return {@code true} if the exception is a {@link ClientV2Exception} and its code matches