| AppCtrlScript | |
| Help |
|
Applies to |
AppCtrlScript (Module: wmACScr1.dll) |
|
Group |
Primary |
|
See also |
ON ERROR, CLEARERRORS, ADDWARNING |
Produces an error with message text and information.
Use this if you want to quit processing and let the user know that something in your logic is not as it should be. During processing errors are usually logged into a logfile where an administrator can have a look at. But with the ON ERROR statement the behaviour can also be changed to show the error message immediately for example.
ADDERROR <Message>[, <Subject>][, <Info>][, <ErrorNumber>]
|
Part |
Description | |
| <Message> | Primary message text. | |
| <Subject> | A subject to which the error applies (should be an id of the main item you are dealing with.) | |
| <Info> | Any important or probably for the user interesting information that could help to find the problem and a solution. | |
| <ErrorNumber> | An error number if applicable. Should be between 5500 and 5999 if it is not a system error number. | |
|
| ||