extracts-error.yaml 1.96 KB
Newer Older
1 2 3 4 5 6 7 8
ref: error-driver-bulkwriteexception
content: |
  :php:`MongoDB\\Driver\\Exception\\BulkWriteException
  <mongodb-driver-exception-bulkwriteexception>` for errors related to the write
  operation. Users should inspect the value returned by :php:`getWriteResult()
  <mongodb-driver-writeexception.getwriteresult>` to determine the nature of the
  error.
---
9 10 11 12 13 14 15 16 17 18 19 20
ref: error-driver-invalidargumentexception
content: |
  :php:`MongoDB\\Driver\\Exception\\InvalidArgumentException
  <mongodb-driver-exception-invalidargumentexception>` for errors related to the
  parsing of parameters or options at the driver level.
---
ref: error-driver-runtimeexception
content: |
  :php:`MongoDB\\Driver\\Exception\\RuntimeException
  <mongodb-driver-exception-runtimeexception>` for other errors at the driver
  level (e.g. connection errors).
---
21 22 23 24 25 26
ref: error-badmethodcallexception-write-result
content: |
  :phpclass:`MongoDB\\Exception\\BadMethodCallException` if this method is
  called and the write operation used an unacknowledged :manual:`write concern
  </reference/write-concern>`.
---
27 28 29 30 31 32 33 34 35 36 37 38 39
ref: error-invalidargumentexception
content: |
  :phpclass:`MongoDB\\Exception\\InvalidArgumentException` for errors related to
  the parsing of parameters or options.
---
ref: error-unexpectedvalueexception
content: |
  :phpclass:`MongoDB\\Exception\\UnexpectedValueException` if the command
  response from the server was malformed.
---
ref: error-unsupportedexception
content: |
  :phpclass:`MongoDB\\Exception\\UnsupportedException` if options are used and
40 41
  not supported by the selected server (e.g. ``collation``, ``readConcern``,
  ``writeConcern``).
42 43 44 45 46 47 48 49 50 51
---
ref: error-gridfs-filenotfoundexception
content: |
  :phpclass:`MongoDB\\GridFS\\Exception\\FileNotFoundException` if no file was
  found for the selection criteria.
---
ref: error-gridfs-corruptfileexception
content: |
  :phpclass:`MongoDB\\GridFS\\Exception\\CorruptFileException` if the file's
  metadata or chunk documents contain unexpected or invalid data.
52
...