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

Investigate how to handle errors from the x package

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Error Handling
    • Labels:
      None

      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.

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

              Created:
              Updated: