LassoScript Utility
Basics Browse Detail


Tag Link [Error_Reset] Category Error
Type Process Source Available Yes
Support Preferred Version 8.5.2
Change New Data Source Any
Output Type None Security None
Implementation LassoScript Sets Lasso 8.5


[Error_Reset] simply sets the current error code to 0 and the current error message to empty. The current error code and error message can be inspected with the [Error_Code] and [Error_Msg] tags.




No Parameters Required.

Change Notes

This tag was added in Lasso 8.5.2.


To reset the error code each time through a loop:

The following code uses [Error_Reset] to reset the error code each time through a loop. This prevents an error from one repetition from bleeding through into the next repetition.

[Loop: 10]
... Code which might set an error ...