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

Add support for extraInfo in failCommand

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

      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).

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

              Created:
              Updated:
              Resolved: