db.where.es shows the db.ErrorStack Error and warning messages are put in db.ErrorStack when the global variables ErrorMessageMode or WarningMessageMode are set to 1 or 2. cf. db.where, system_variable