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

Status constructor must handle optional ErrorExtraInfo

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding 2020-11-16

      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

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

              Created:
              Updated:
              Resolved: