SUI_SetOnErrMethod Table of Contents || Prev | Next || [?]

 
SUI_SetOnErrMethod (methodName)
 
ParameterTypeDescription
methodNameStringName of method to use for error handling
 
Description

Some SUI Pack calls are more prone to errors, and are therefore functions that return an error code. Many commands will produce an alert if an error is encountered. You can now specify a method for the plug-in to call whenever errors occur, which will suppress the alerts. You must declare three parameters to receive error details:

C_INTEGER ($1) `This is the SUI Pack error number.
C_STRING (255; $2) `This is the area/command reporting the error.
C_STRING (255; $3) `This is a description of the error.