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

Consistent exception hierarchy

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.0.0
    • Affects Version/s: None
    • Component/s: Public API
    • 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 Unassigned
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: