The MongoDB\Driver\Exception\ServerException class
The MongoDB\Driver\Exception\ServerException class
(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.