Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1788

Audit missing replaceErrors calls

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.4.4
    • None
    • None
    • None

    Description

      Some functions (e.g. IndexView.CreateOne/CreateMany) are missing replaceErrors calls, which causes them to return error types from the "x" package. We should audit all of these to make sure the errors are translated. This will also be necessary for client-side operations timeout as that project will be adding logic to processError to correctly transform timeout errors.

      Attachments

        Activity

          People

            isabella.siu@mongodb.com Isabella Siu (Inactive)
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: