- Reference >
mongo
Shell Methods >- Database Methods >
- db.getPrevError()
db.getPrevError()¶
-
db.
getPrevError
()¶ Returns: A status document, containing the errors. Deprecated since version 1.6.
This output reports all errors since the last time the database received a
resetError
(alsodb.resetError()
) command.This method provides a wrapper around the
getPrevError
command.