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.

Was this page helpful?

Yes No

Thank you for your feedback!

We're sorry! You can Report a Problem to help us improve this page.