Implement mongocxx exception hierarchy

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.0-rc0
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: