Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3661

Documented differences between error API v1 and API v2 are incomplete

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • None

      The Error Reporting page documents the differences between error API V1 and V2, including a table of the error domain in V1 and corresponding error domain in V2.

      The paragraph says:

      The driver’s error reporting began with a design flaw: when the error domain is MONGOC_ERROR_COLLECTION, MONGOC_ERROR_QUERY, or MONGOC_ERROR_COMMAND, the error code might originate from the server or the driver.

      But the table does not have an entry for MONGOC_ERROR_COLLECTION. I think that is either missing, or the row for mongoc_collection_insert_one() and the other collection write functions is incorrectly documented.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: