Navigation
This version has reached end of life on October 2016. 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.