-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
Go Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Context
ClientBulkWriteException does not implement the full ServerError interface. As a result, errors.As(err, &serverErr) returns false for a client bulk write error, and the idiomatic server-error detection path. Its unclear why there wouldn't be parity with BulkWriteEception.
Definition of done
Implement ServerError interface.
Pitfalls
No obvious pitfalls.
- related to
-
GODRIVER-3832 mongo.ErrorCodes() returns empty with mongo.ClientBulkWriteException
-
- Closed
-
-
GODRIVER-2388 Improved Bulk Write API
-
- Development Complete
-