mongo
Docs Home → MongoDB Manual
resetError
Deprecated
The resetError command resets the last error status.
db.resetError()