PythonScript.LastExecutionError Property Last execution error if any. Used by the code editor to display errors. ErrorOrWarning