InfoErrorAdd - method of the Pm object
Syntax:
Empty InfoErrorAdd(String sError, String sNote)
Parameters:
sError | (String) Error text.
If error with the same text appear then these are considered to be the same error and the corresponding error counter is incremented. |
sNote | (String) Error note.
Only the last error note is visible in the INFO system. |
---|
Example:
Writing application error with the text
"Boiler1 - Communication error" into the "
/Errors/Application" tab in the INFO system.
JavaScriptVBScriptSelect and copy to clipboard
Pm.InfoErrorAdd("Boiler1 - Communication error", "");
Pm.InfoErrorAdd "Boiler1 - Communication error", ""