PHP - Manual: MongoDB\Driver\Exception\ServerException
2025-02-27
(mongodb >= 1.5.0)
Base class for exceptions thrown by the server. The code of this exception and its subclasses will correspond to the original error code from the server.
官方地址:https://www.php.net/manual/en/class.mongodb-driver-exception-serverexception.php