-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
ListIndexes catches a MongoDB\Driver\Exception\RuntimeException to check error codes and suppress missing namespace/database errors. At the very least it should use ServerException (first class where codes are guaranteed to originate from the server), but likely CommandException for consistency with other classes (e.g. DropCollection).