Docs Home → Develop Applications → MongoDB Manual
resetError![](/docs/v5.2/assets/link.svg)
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoDB server.
resetError
Removed in MongoDB 5.0.
The
resetError
command resets the last error status.
Tip
See also:
db.resetError()
(also removed in MongoDB 5.0)