code: public void addWriteErrorResult(final BulkWriteError writeError, final IndexMap indexMap) {
          notNull("writeError", writeError);
          mergeWriteErrors(asList(writeError), indexMap);
      }
docs: Add a write error result
  
  @param writeError the write error
  @param indexMap   the index map