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

Unmarshal errors should return multiple errors when possible

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      It would be great if a MultiError type (or something like that) could be returned from Unmarshal. Many times, there are more than one error and having to repeatedly fix a single error at a time can be tedious. A MultiError type would allow me to check for that type of error and get all of the errors out at once.

      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: