[DOCS-907] C++ driver doc says we throw wrong error type Created: 19/Dec/12  Updated: 30/Oct/23  Resolved: 19/Dec/12

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Minor - P4
Reporter: David Hows Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-7889 Handling data type errors with UserEx... Closed
Participants:
Days since reply: 11 years, 9 weeks ago

 Description   

Doc's suggest we throw a UserException http://api.mongodb.org/cplusplus/2.2.0/classmongo_1_1_b_s_o_n_element.html#a692f3eecb505eae2181eb938b7680fbe

We currently throw a MsgAssertionException.



 Comments   
Comment by Daniel Pasette (Inactive) [ 19/Dec/12 ]

duplicate of SERVER-7889

Generated at Thu Feb 08 07:39:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.