PyIErrorLog.AddError

AddError(propName, excepInfo)

Adds an error to the error log.

Parameters

propName : string

The name of the error

excepInfo=None : exception

A COM exception. Must be a complete COM exception (ie, pythoncom.com_error, or win32com.server.exceptions.COMException())