driver-core/src/main/com/mongodb/connection/BulkWriteBatchCombiner.java
public void addWriteErrorResult(final BulkWriteError writeError, final IndexMap indexMap) {
        notNull("writeError", writeError);
        mergeWriteErrors(asList(writeError), indexMap);
    }
public void addWriteErrorResult(final BulkWriteError writeError, final IndexMap indexMap) {
        notNull("writeError", writeError);
        mergeWriteErrors(asList(writeError), indexMap);
    }
public void addWriteErrorResult ( final BulkWriteError writeError , final IndexMap indexMap ) { notNull ( "writeError" , writeError ) ; mergeWriteErrors ( asList ( writeError ) , indexMap ) ; }
Add a write error result

@param writeError the write error
@param indexMap   the index map
Add a write error result