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

Ensure all errors are of type MongoDriverError or MongoServerError for 4.0

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Unknown
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: None
    • Labels:
      None
    • Documentation Changes:
      Not Needed

      Description

      We should check all instances of TypeError and other non-Mongo errors that are currently thrown in the driver and convert them to an appropriate subclass of MongoError so that the users have a more consistent experience and so that future improvements to error information can be done without being a breaking change in 4.0.

       

      Original Implementor: Daria

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              neal.beeken Neal Beeken
              Reporter:
              daria.pardue Daria Pardue
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: