[CSHARP-1147] Add Error Categories to WriteError Created: 12/Dec/14  Updated: 02/Apr/15  Resolved: 14/Jan/15

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0

Type: Improvement Priority: Minor - P4
Reporter: Craig Wilson Assignee: Craig Wilson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Instead of creating new exceptions for every type of error, we should offer categories of errors (DuplicateKey) to the already contained WriteError class in MongoWriteException and MongoBulkWriteException.



 Comments   
Comment by Githook User [ 14/Jan/15 ]

Author:

{u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-1147: added support for error categories into the write error classes.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/0fb4a83272600d53b69dff8cc9b1b0f90866958e

Generated at Wed Feb 07 21:38:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.