-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
The switch statements in phongo_exception_from_mongoc_domain() and phongo_exception_from_phongo_domain() should be cleaned up.
Too many exceptions are currently selected by libmongoc code alone, which makes it likely that new codes will blindly default to RuntimeException.
- related to
-
PHPC-355 Connection timeouts should throw ConnectionTimeoutException, and not RuntimeException
- Closed