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

Better positional error reporting from the json and bson libraries.

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Error Handling
    • Labels:
      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?

      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", 

            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: