Consistent exception hierarchy

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • 3.0.0
    • Affects Version/s: None
    • Component/s: Public API
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: