Public Member Functions | |
def | __init__ |
Public Attributes | |
code |
Raised when a database operation fails. .. versionadded:: 1.8 The :attr:`code` attribute.
Definition at line 49 of file pymongo/errors.py.
def pymongo::errors::OperationFailure::__init__ | ( | self, | ||
error, | ||||
code = None | ||||
) |
Definition at line 56 of file pymongo/errors.py.
Definition at line 57 of file pymongo/errors.py.