On this page
db.resetError()
db.resetError( )-
Deprecated since version 1.6.
Resets the error message returned by
db.getPrevErrororgetPrevError. Provides a wrapper around theresetErrorcommand.
db. resetError ( )
Deprecated since version 1.6.
Resets the error message returned by db.getPrevError or getPrevError. Provides a wrapper around the resetError command.