Use the Error commands in Python™ to access a list of errors that can occur when running GainSeeker Python commands. See Python commands for other commands you can use with GainSeeker.
Syntax |
Example |
Description/Remarks |
error.clear() |
error.clear() |
Clears the error list for the current script. |
error.getlist() |
errorlist = error.getlist() |
Gets a full list of all errors that occurred during the current script. |
error.mostrecent |
print error.mostrecent |
Gets the most recent error that occurred inside a GainSeeker command during the current script. |
error.stoponerror |
error.stoponerror= True |
Gets/Sets if the Python script halts when a non-critical error occurs inside a GainSeeker command. Possible values are True or False. |