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

Implement improved error handling

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Error Handling

      Currently, errors are published under the general "implements error" interface. We should have a better error publishing strategy such that clients can recognize certain important types of errors and do something intelligent with them.

      In addition, it will be important to be able to track root cause errors such that internal implementations can handle certain types of errors better. For instance, when a connection encounters a read error, it should immediately cause the monitor to recheck the server to see if it's down and subsequently scrub the connection pool. This currently isn't happening.

            Assignee:
            Unassigned Unassigned
            Reporter:
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: