File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -633,16 +633,16 @@ Troubleshooting
633633Bulk Write Exception
634634~~~~~~~~~~~~~~~~~~~~
635635
636- The driver creates a write exception when a ``WriteError`` object is created . If an
636+ The driver creates a write exception when it creates a ``WriteError`` object. If an
637637error is detected during a bulk write operation, a `MongoBulkWriteException
638638<{+core-api+}/MongoBulkWriteException.html>`__ is thrown.
639639
640- A ``MongoBulkWriteException`` contains a ``writeErrors`` field containing a list
641- of one or more ``WriteError`` objects associated with the same bulk write
640+ A ``MongoBulkWriteException`` contains a ``writeErrors`` field consisting of a
641+ list of one or more ``WriteError`` objects associated with the same bulk write
642642operation.
643643
644644Example
645- '''''''
645+ ```````
646646
647647For example, the driver raises a ``MongoBulkWriteException`` if your bulk insert
648648contains two documents that violate the collection's schema
Original file line number Diff line number Diff line change @@ -199,15 +199,15 @@ Troubleshooting
199199Write Exception
200200~~~~~~~~~~~~~~~
201201
202- The driver creates a write exception when a ``WriteError`` object is created . The
202+ The driver creates a write exception when it creates a ``WriteError`` object. The
203203driver raises a `MongoWriteException <{+core-api+}/MongoWriteException.html>`__
204204for any write errors that occur when performing single write operations.
205205
206- A ``MongoWriteException`` object contains an ``error`` field containing the
206+ A ``MongoWriteException`` object has an ``error`` field containing the
207207``WriteError`` object that caused it.
208208
209209Example
210- '''''''
210+ ```````
211211
212212For example, the driver raises a ``MongoWriteException`` if you
213213attempt to insert a document into a collection that violates the collection's
You can’t perform that action at this time.
0 commit comments