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

Define MongoRuntimeError children pt1

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: None
    • Labels:
      None
    • Documentation Changes:
      Not Needed

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andy.mina Andy Mina (Inactive)
              Reporter:
              warren.james Warren James (Inactive)
              Implementer:
              Warren James Warren James (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: