code: public void setErrorList(java.util.Collection<BatchItemError> errorList) {
          if (errorList == null) {
              this.errorList = null;
              return;
          }
  
          this.errorList = new java.util.ArrayList<BatchItemError>(errorList);
      }
docs: <p>
  A list containing one object for each document that contained an error. The results are sorted in ascending order
  by the <code>Index</code> field and match the order of the documents in the input list. If there are no errors in
  the batch, the <code>ErrorList</code> is empty.
  </p>
  
  @param errorList
  A list containing one object for each document that contained an error. The results are sorted in
  ascending order by the <code>Index</code> field and match the order of the documents in the input list. If
  there are no errors in the batch, the <code>ErrorList</code> is empty.