Add mongoc_cursor_get_error_document ()

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 1.7.0
    • Affects Version/s: 1.3.3
    • Component/s: libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
            A. Jesse Jiryu Davis
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: