Implement MongoAPIError class and its children

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Warren James (Inactive)
              Andy Mina
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: