Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1482

Consistent exception hierarchy

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Minor - P4
    • Resolution: Unresolved
    • None
    • 3.0.0
    • Public API
    • None

    Description

      Currently the auth exceptions (InvalidMechanism, Unauthorized) derive from RuntimeError and are defined in lib/mongo/auth.rb. All of driver exceptions should derive from Mongo::Error and be defined in lib/mongo/error.

      Driver should be audited to see if there are any other exception classes that need to be moved.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              oleg.pudeyev@mongodb.com Oleg Pudeyev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: