dictionary:errors:index
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
dictionary:errors:index [2020/05/21 13:15] – created James Sentman | dictionary:errors:index [2020/05/21 13:33] – added links and info about recursive scripting James Sentman | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Script Error Handling===== | =====Script Error Handling===== | ||
- | If an unhandled error occurs in a script of any kind it will cause a global script | + | If an unhandled error occurs in a script of any kind it will cause a Global Script |
- | Other things may also cause the **Interface Error Script** to execute such as an interface being reset due to it becoming unresponsive. For modern error handling not related to scripts most interfaces offer an on error handler that will be called with more information in the individual script. Use the “Insert” toolbar item of the Interface script to insert the handler with information on it’s use. | ||
- | Inside the **Interface Error Script** you can use the **Last Error**, **Last Error Message**, and **Last Error Date** verbs to get the error message and exact time for logging or alerts as needed. | + | Inside the **Script |
+ | |||
+ | If a scripting error occurs in the **Script Error Alert** script that will not cause the script to be executed again to avoid an infinite recursion and eventual crash situation. Any error in the error handling script will be written to the log with as much information as possible but will not cause other actions to happen. | ||
+ | |||
+ | ====See Also:==== | ||
+ | * [[dictionary: | ||
+ | * [[dictionary: | ||
+ | * [[dictionary: |
dictionary/errors/index.txt · Last modified: 2023/02/13 14:52 by 127.0.0.1