-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Error Handling
-
None
In server version 4.0 the server has started returning an errorLabels field when returning an error (i.e. with { ok : 0 }).
This needs to be exposed to the application.
It has also been decided that drivers will sometimes add ErrorLabels to certain exceptions, so rather than defining this new Property at the MongoCommandException level it should be defined at the MongoException level.