Add errorCodeName property to MongoServerException

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.6.0
    • Affects Version/s: None
    • Component/s: Error Handling
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, only MongoCommandException has the errorCodeName property. However, a recent unified spec test causes a MongoQueryException to be thrown, which does not have this property. Pushing the property down into MongoServerException would make it available on both these classes, and allow the tests to pass.

            Assignee:
            Jeffrey Yemin
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: