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

Implement improved error handling

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Error Handling

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: