Improve specificity of write concern errors

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The latest slew of retryable write updates improved the driver by properly reporting write concern errors as errors, client-side. This was a good start, but we can still improve on this design by creating a more specific error class (e.g. MongoWriteConcernError) so we can catch this specific error type for more complicated logic elsewhere.

            Assignee:
            Matt Broadstone
            Reporter:
            Matt Broadstone
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: