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

Rename Socket#handle_errors to map_errors

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Connections

      Our Socket class has a method called handle_errors. It actually does not handle errors (e.g. it does not set server to unknown if connection failed), but maps exception instances to Mongo::Error-derived classes. The method should be renamed to reflect its function.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: