Export extractError function

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.6.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      The extractError function in x/mongo/driver/errors.go converts a server response document into one of our low-level error types, which can then be fed directly into ProcessError to do SDAM error handling. This isn't required for correctness, but exporting this function would make it easier to do this in projects that depend on our low-level APIs.

            Assignee:
            Benji Rewis (Inactive)
            Reporter:
            Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: