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

Add support for extraInfo in failCommand

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Service Arch 2020-01-27, Service Arch 2020-02-10

    Description

      It's not currently possible to use failCommand to set a command to fail if the desired code requires extra info. We should allow callers of failCommand to pass extraInfo, which would allow failCommand to mimic all error conditions (instead of just those conditions which don't have extraInfo).

      Attachments

        Activity

          People

            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: