Deprecate CommandResult in MongoCommandException and add new Code, Command, ErrorMessage and Result properties

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 1.10
    • Affects Version/s: None
    • Component/s: Error Handling
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      MongoCommandException.CommandResult needs to be deprecated.

      New properties need to be added:

      public int Code { get; }
      public BsonDocument Command { get; }
      public string ErrorMessage { get; }
      public BsonDocument Result { get; }
      

              Assignee:
              Robert Stam
              Reporter:
              Craig Wilson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: