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

Javascript interruption should use semantic "operation interrupted" error codes

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 2.5.2
    • JavaScript

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: