Docs Home → Develop Applications → MongoDB Manual
db.resetError()![](/docs/v5.3/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.
db.resetError()
Removed in MongoDB 5.0.
Provides a wrapper around the
resetError
command (also removed in MongoDB 5.0).