-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: BSON
-
None
Currently, each of the BSON library's error's enum cases' associated values are unlabeled, which makes it hard to determine what the values mean without looking at the Display implementation or reading the docstrings. In the driver, we label all associated values unless they're just being wrapped directly. We should consider a similar convention for the BSON library.
This would be a breaking change, so it would be need to done before 1.0.