-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.0.0
-
Component/s: None
-
None
Use Case
As a Node Driver User
I want more descriptive error types
So that when something fails, I know where to look for the cause.
Dependencies
Acceptance Criteria
Implementation Requirements
- Implement `MongoRuntimeError` in `src/error.ts` so its children classes can inherit from it.
Testing Requirements
- See testing plan at: https://github.com/mongodb/node-mongodb-native/blob/NODE-3363/4.0/error-hierarchy/docs/errors.md
Documentation Requirements
- n/a
Follow Up Requirements
- n/a