ScrAddError

Logs an error to the Information / Errors / Warnings window.
UI Command:   None.
Syntax:   obj.ScrAddError(<error>)
Parameters:  

BSTR error

Return Value:  

None.

VB Example:  

obj.ScrAddError("This is my error.")

IPY Example:  

oDoc.ScrAddError('This is my error.')