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

Define MongoRuntimeError children pt1

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0
    • Affects Version/s: 4.0.0
    • 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
        • MongoInvalidClassInstantiationError
        • MongoNotConnectedError
      Testing Requirements
      Documentation Requirements
      • ...
        Follow Up Requirements
      • Create ticket to replace MongoDriverError and MongoError instances with errors defined here where appropriate

        There are no Sub-Tasks for this issue.

            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: