Skip to content

Commit 7166329

Browse files
committed
returns -> throws
1 parent f25264d commit 7166329

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

source/reference/method/MongoDBClientBulkWrite-createWithCollection.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ Parameters
6464
* - ordered
6565
- boolean
6666
- If ``true``: When a single write fails, the operation stops without
67-
performing the remaining writes and returns an exception.
67+
performing the remaining writes and throws an exception.
6868

6969
If ``false``: When a single write fails, the operation continues
70-
with the remaining writes, if any, and returns an exception.
70+
with the remaining writes, if any, and throws an exception.
7171

7272
The default is ``true``.
7373

source/write/bulk-write.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,9 @@ you can set in the array:
270270

271271
* - ``ordered``
272272
- | If set to ``true``: When a single write fails, the operation stops without
273-
performing the remaining writes and returns an exception.
273+
performing the remaining writes and throws an exception.
274274
| If set to ``false``: When a single write fails, the operation continues to
275-
attempt the remaining write operations, if any, then returns an exception.
275+
attempt the remaining write operations, if any, then throws an exception.
276276
| The default is ``true``.
277277

278278
* - ``verboseResults``
@@ -459,9 +459,9 @@ describes the options you can set in the array:
459459

460460
* - ``ordered``
461461
- | If set to ``true``: When a single write fails, the operation stops without
462-
performing the remaining writes and returns an exception.
462+
performing the remaining writes and throws an exception.
463463
| If set to ``false``: When a single write fails, the operation continues to
464-
attempt the remaining write operations, if any, then returns an exception.
464+
attempt the remaining write operations, if any, then throws an exception.
465465
| The default is ``true``.
466466

467467
* - ``comment``

0 commit comments

Comments
 (0)