This version will reach end of life on Feb 2018. To upgrade, go to the Learn more about upgrading your version of MongoDB.


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.