Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19705

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

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

      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@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: