-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: API
This would be addressed by either eliminating the hierarchy so there is only 1 type of mongodb exception thrown, or making actual use of the hierarchy and ensuring that you always throw a type that matches the category, so that you only need to check the code.