Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-3485

Extend MongoAPIError

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Error
    • Labels:

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            warren.james@mongodb.com Warren James
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: