code: public void addErrorResult(final List<BulkWriteError> writeErrors,
                                 final WriteConcernError writeConcernError, final IndexMap indexMap) {
          mergeWriteErrors(writeErrors, indexMap);
          mergeWriteConcernError(writeConcernError);
      }
docs: Add a list of error results and a write concern error
  
  @param writeErrors       the errors
  @param writeConcernError the write concern error
  @param indexMap          the index map