code: @SafeVarargs
    public static RetryBuilder allBut(Class<? extends Throwable>... types) {
      RetryBuilder retryBuilder = new RetryBuilder();
      retryBuilder.maxAttempts = 1;
  
      retryBuilder.errorsStoppingRetry = Arrays.asList(types);
      retryBuilder.inverse = false;
  
      return retryBuilder;
    }
docs: Only errors that are NOT instanceOf the specified types will trigger a retry