If the error is present in the document[ when you open the document it shows error], the system status of the document will be set to in error. Whenever the document is in this status, you can schedule an action to be triggered. The action in turn can send a mail to system admin
The other possibility would be to create a report which selects all the documents which contains error and send an email
Regards
Ganesh Varadarajan