...
Sets a script to run when a script error has occurred.
Shogun Post Shogun Post enables you to specify a script that is automatically run if another script that it is executing fails. This may be useful when setting up a farm of Shogun of Shogun Post machines which automatically process files. For example, the error handler script may call the system command to run a Python script to email interested parties.
...
None
Return value
void
Examples
Code Block | ||
---|---|---|
| ||
// Set our custom error handler |
...
setErrorHandler "MyErrorHandlerScript"; |
...
...
// Clear it |
...
setErrorHandler ""; |
...
// Could also have called setErrorHandler |