Phantom Documentation

[Help Home] [Phantom Home]
LogError

void LogError(string)

Return Type: void
Parameters: string ErrorMessage

Description:
This function displays an error message with the text ErrorMessage. This will also increment the total error counter. The message will show the line number and the source of the error. The source will be either the ‘Console’ or the script/function name.


Example Code
1 >>LogError("There has been a breach!");
** ERROR: (1) from 'Console' on Line 1 - There has been a breach!
2 >>disp(GetErrorCount());
1

 


Copyright 2000-2011 Phantom Automated Solutions