OperationFailure
Python (PyMongo)PyMongoErrorgeneral
Raised when a database operation fails. Includes the server error code and details.
Raised when a database operation fails. Includes the server error code and details.
Source: PyMongo Driver Documentation