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 databasereceived a resetError (alsodb.resetError()) command.

This method provides a wrapper around thegetPrevError command.