Navigation
This version of the manual is no longer supported. Learn more about upgrading your version of MongoDB.

db.resetError()

db.resetError()

Deprecated since version 1.6.

Resets the error message returned by db.getPrevError or getPrevError. Provides a wrapper around the resetError command.