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

Status constructor must handle optional ErrorExtraInfo

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Internal Code
    • None
    • Fully Compatible
    • ALL
    • Sharding 2020-11-16

    Description

      In this Status constructor it is assumed that - if a parser exists for an ErrorCode - the extra infos associated should always be present.

      However, this doesn't account for optional extra infos that can be checked with mustHaveExtraInfo

      Attachments

        Activity

          People

            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: