-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Our libmongoc error_codes all come from the mongoc_error_code_t enum in mongoc-error.h, but this enum contains mostly client-side errors, and a few server errors for backwards compatibility. We are missing error codes for server-side errors. For example, the duplicate key error code 11000 in the libmongoc command error category.
- duplicates
-
CXX-754 write example that shows how to handle driver exceptions gracefully
- Closed
- is related to
-
CDRIVER-644 bson_error_t's "code" is often wrong
- Closed