Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1042

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.10
    • Affects Version/s: None
    • Component/s: Error Handling
    • Labels:
      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@mongodb.com Robert Stam
            Reporter:
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: