File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ ref : error-invalidargumentexception
2
+ content : |
3
+ :phpclass:`MongoDB\\Exception\\InvalidArgumentException` for errors related to
4
+ the parsing of parameters or options.
5
+ ---
6
+ ref : error-driver-runtimeexception
7
+ content : |
8
+ :php:`MongoDB\\Driver\\Exception\\RuntimeException
9
+ <mongodb-driver-exception-runtimeexception>` for other errors at the driver
10
+ level (e.g. connection errors).
11
+ ---
12
+ ref : error-unsupportedexception-writeconcern
13
+ content : |
14
+ :phpclass:`MongoDB\\Exception\\UnsupportedException` if the ``writeConcern``
15
+ option is used and is not supported by the selected server.
16
+ ...
Original file line number Diff line number Diff line change @@ -36,6 +36,13 @@ An array or object with the result document of the :manual:`dropDatabase
36
36
</reference/command/dropDatabase>` command. The return type will depend on the
37
37
``typeMap`` option.
38
38
39
+ Errors/Exceptions
40
+ -----------------
41
+
42
+ .. include:: /includes/extracts/error-unsupportedexception-writeconcern.rst
43
+ .. include:: /includes/extracts/error-invalidargumentexception.rst
44
+ .. include:: /includes/extracts/error-driver-runtimeexception.rst
45
+
39
46
Example
40
47
-------
41
48
You can’t perform that action at this time.
0 commit comments