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

Better positional error reporting from the json and bson libraries.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Error Handling
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

    Description

      Not all errors in the bson/json readers report the position of errors. Positions should be reported for all errors during parsing.

       

      For example:

      invalid JSON input; expected ISO-8601 Internet Date/Time Format as decribed in RFC-3339 for UTC datetime", 

      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: