OPTIONS

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 (also db.resetError()) command.

This method provides a wrapper around the getPrevError command.

ON THIS PAGE