Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-627

Implement mongocxx exception hierarchy

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0-rc0
    • Affects Version/s: None
    • Component/s: API
    • None

      Implement an exception hierarchy for libmongocxx with the following exception types and error categories:

      • mongocxx::exception (inherits from std::system_error)
        • libmongoc error category
        • mongocxx error category
        • mongocxx::authentication exception
          • has an optional bson doc for an error from the server
        • mongocxx::operation exception
          • has an optional bson doc for an error from the server
          • mongocxx::write exception
          • mongocxx::query exception
          • mongocxx::bulk_write exception

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: