[CXX-754] write example that shows how to handle driver exceptions gracefully Created: 02/Dec/15  Updated: 28/Jan/16  Resolved: 28/Jan/16

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

Type: Improvement Priority: Major - P3
Reporter: Adam Midvidy Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by CXX-808 Missing error codes for server-side e... Closed
Gantt Dependency
has to be done after CXX-627 Implement mongocxx exception hierarchy Closed
Epic Link: C++11 Driver MongoDB 3.2

 Description   

Currently all of our examples will crash if something goes wrong. After we sort out our error handling we should write an example that shows people how to Do It Right.



 Comments   
Comment by Githook User [ 28/Jan/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: CXX-754 Radically simplify bsoncxx/mongocxx exceptions and error_codes
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/956cf608fc91cd191b5c53cc31e94d52df526d37

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

First step of code review is here: https://github.com/mongodb/mongo-cxx-driver/pull/454

Comment by Tess Avitabile (Inactive) [ 07/Jan/16 ]

https://github.com/mongodb/mongo-cxx-driver/pull/425

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