-
Type: Improvement
-
Resolution: Duplicate
-
Priority: 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.
- duplicates
-
RUBY-2231 Rename handle_errors to map_exceptions
- Closed