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

Design and implement first-draft of custom errors for the bson, builder, and elements packages

    XMLWordPrintableJSON

Details

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

    Description

      The errors within the bson, builder, and elements package don't provide much information. We need to add a custom error type for each package that ensures that errors have enough information contained within to debug problems and pinpoint where a particular error originated from. For instance, the ErrTooSmall error is used in several places, we should ensure that when the equivalent message is returned with the new custom errors that it is easy to pinpoint from where this error is originating.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: