-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.1.2
-
Component/s: None
-
None
Currently, failed commands result in an exception that contains only the command's error message and code. It'd be nice if we allowed users access to the full command document, even if it was only available through a getter method on the exception.
This may require a new exception sub-class for command failures that include the result document.
- depends on
-
CDRIVER-1110 Add mongoc_cursor_get_error_document ()
- Closed
-
PHPC-1089 Introduce CommandException class
- Closed
- is depended on by
-
PHPC-1076 Expose result document for failed commands via CommandFailedEvent
- Closed
- is related to
-
PHPC-834 Add Read, ReadWrite, and Write command execute methods
- Closed
- related to
-
PHPC-1143 Select ServerException for MONGOC_ERROR_WRITE_CONCERN domain
- Closed
- links to