SpiderMonkey error codes overlap with Mongo error codes in thrown user assertions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.1.7
    • Affects Version/s: 3.1.7
    • Component/s: JavaScript
    • None
    • Fully Compatible
    • ALL
    • Platform 7 08/10/15
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Our SpiderMonkey integration layer throws Mongo style user assertions with Mongo Error Codes. It uses a facility shared with SpiderMonkey when it has to round trip errors through javascript, and here we find collisions.

      We should lift our errors above all of SpiderMonkey's errors to avoid conflicts

            Assignee:
            Mira Carey
            Reporter:
            Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: