[CXX-808] Missing error codes for server-side errors Created: 11/Jan/16  Updated: 20/Jan/16  Resolved: 20/Jan/16

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CXX-754 write example that shows how to handl... Closed
Related
is related to CDRIVER-644 bson_error_t's "code" is often wrong Closed
Epic Link: C++11 Driver MongoDB 3.2

 Description   

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.



 Comments   
Comment by Andrew Morrow (Inactive) [ 20/Jan/16 ]

Work to resolve this issue will proceed under CXX-754

Generated at Wed Feb 07 22:00:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.