-
Type:
New Feature
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: API
-
None
Implement an exception hierarchy for libmongocxx with the following exception types and error categories:
- mongocxx::exception (inherits from std::system_error)
- libmongoc error category
- mongocxx error category
- mongocxx::authentication exception
- has an optional bson doc for an error from the server
- mongocxx::operation exception
- has an optional bson doc for an error from the server
- mongocxx::write exception
- mongocxx::query exception
- mongocxx::bulk_write exception
- depends on
-
CXX-649 make std::error_category for C driver error codes
-
- Closed
-
- has to be done before
-
CXX-742 client::database() should raise an exception if client is unitialized
-
- Closed
-
-
CXX-754 write example that shows how to handle driver exceptions gracefully
-
- Closed
-
- is duplicated by
-
CXX-583 implement CRUD API exception hierarchy
-
- Closed
-
- is related to
-
CXX-630 Improve move semantics of model::write
-
- Closed
-
- related to
-
CXX-768 Implement bsoncxx exception hierarchy
-
- Closed
-
(1 related to)