Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1516

Improve specificity of write concern errors

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.0
    • Affects Version/s: None
    • Component/s: 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@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: