'**DEPRECATED**: Reset the error history of this database.
This method is obsolete: all MongoDB write operations (insert, update,
remove, and so on) use the write concern ``w=1`` and report their
errors by default.
Calls to :meth:`previous_error` will only return errors that have
occurred since the most recent call to this method.
.. versionchanged:: 2.8
Deprecated.'

def reset_error_history(self):

    warnings.warn('reset_error_history()    is    deprecated', DeprecationWarning, stacklevel=2)
    self.command('reseterror')
