def reset_error_history(self):
        warnings.warn("reset_error_history() is deprecated",
                      DeprecationWarning, stacklevel=2)

        self.command("reseterror")
**DEPRECATED**: Reset the error history of this database.
dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/database.py/Database.reset_error_history