Different kinds of errors may occur during script execution: unavailable methods or properties, non-existent windows, etc. If the Error dialog setting is enabled in TestComplete's project properties, the Error dialog will open every time an error occurs during script execution.
Press Yes to stop script execution, No to ignore the error and continue. In either case TestExecute will post an error message to the test log.