ThrowError
Use this command to manually create an error situation within the procedure, and save a user specified error message to the LVS_ERRORMESSAGE system variable. This initiates Longview Application Framework’s default error behavior. If an OnError statement exists within the procedure hierarchy, the default behavior is to trigger it. Otherwise, the default behavior is to terminate the procedure.
where:
- String is the error message that is saved into the LVS_ERRORMESSAGE system variable.
See also