-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Error
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.
Acceptance Criteria
Implementation Requirements
Define, implement, and test the following classes:
- MongoMethodOverrideError
- MongoDeprecationError
- MongoChangeStreamModeError
- MongoGridFSStreamClosedError
- MongoChangeStreamClosedError
Testing Requirements
See the testing plan in [docs/errors.md|https://github.com/mongodb/node-mongodb-native/blob/NODE-3363/4.0/error-hierarchy/docs/errors.md].
Documentation Requirements
- Update docs/errors.md
Follow Up Requirements
- additional tickets to file, required releases, etc
- is depended on by
-
NODE-3509 Update in-repository documentation on new error types
- Closed