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

Implement MongoAPIError class and its children

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.1.0
    • Component/s: None
    • Labels:
      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 classes in src/error.ts and replace the appropriate MongoDriverError instances with instances of the children of MongoAPIError

      • MongoAPIError
        • MongoInvalidArgumentError
        • MongoCompatibilityError
        • MongoMissingCredentialsError
        • MongoMissingDependencyError
      Testing Requirements

       

      • Follow Up Requirements
        • File new tickets to define and use the error classes defined in the discussion on the pull request linked here

            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: