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

Investigate how to handle errors from the x package

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Error Handling
    • None

    Description

      topology and driver errors from the x package can be returned to users. We don't want to give things from x to users, so we should turn them into a mongo package error type before returning them. Also we should check to see if we are returning any other x package errors.

      We could also provide more functionality in the form of helpers for users to handle returned x-package errors.

      Attachments

        Activity

          People

            Unassigned Unassigned
            isabella.siu@mongodb.com Isabella Siu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: