- Reference >
mongo
Shell Methods >- Database Methods >
- db.resetError()
db.resetError()¶
-
db.
resetError
()¶ Deprecated since version 1.6.
Resets the error message returned by
db.getPrevError
orgetPrevError
. Provides a wrapper around theresetError
command.