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

Add mongoc_cursor_get_error_document ()

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.0
    • Affects Version/s: 1.3.3
    • Component/s: libmongoc
    • None

      Original title: Allow clients to access failed command response document (e.g. ok:0)


      Currently, an unsuccessful command results in a cursor failure, which means drivers built atop libmongoc can only access the error code and message. It'd be nice if there was an API to expose the response document from the failed command.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: