(mongodb >= 1.0.0)
Base class for exceptions thrown by a failed write operation. The exception encapsulates a MongoDB\Driver\WriteResult object.
The MongoDB\Driver\WriteResult associated with the failed write operation.
版本 | 说明 |
---|---|
1.5.0 |
This class now extends MongoDB\Driver\Exception\ServerException instead of MongoDB\Driver\Exception\RuntimeException. |