db.resetError()
This version of the documentation is archived and no longer supported. To
upgrade your 5.0 deployment, see the MongoDB 6.0 upgrade procedures.
db.resetError()
Removed in MongoDB 5.0.
Provides a wrapper around the
resetError
command (also removed in MongoDB 5.0).