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

Replace MongoDriverError and MongoError Instances with children of MongoRuntimeError

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      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 the following subclasses of MongoRuntimeError in src/error.ts

        • MongoBatchReExecutionError
        • MongoCursor
          • MongoCursorExhaustedError
          • MongoTailableCursorError
          • MongoCursorInUseError--
        • MongoNotConnectedError
      Testing Requirements

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

              Created:
              Updated:
              Resolved: