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

Javascript interruption should use semantic "operation interrupted" error codes

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.5.2
    • Component/s: JavaScript

      Interrupting a Javascript operation currently sets the operation's error code to any of: 16711, 16712, 13475, 16721.

      Javascript interruption should use the same error codes that other server operations use on interruption (currently 11600/11601/50 for shutdown/killop/maxtime). This would allow drivers to more easily detect the type of failure mode and propagate the appropriate exception to the application.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            rassi J Rassi
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: