[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: |
|
||||||||||||||||
| 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 |