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

    • Improvement
    • Status: Closed
    • Unknown
    • Resolution: Fixed
    • None
    • 4.0.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: