[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.
[Error_Reset]
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]
[Error_Reset]
... Code which might set an error ...
[/Loop]
Tag Link | [Error_Reset] | Category | Error |
---|---|---|---|
Type | Process | Data Source | Any |
Support | Preferred | Version | 8.5.2 |
Output Type | None | Security | None |
Implementation | LassoScript | Sets | Lasso 8.5 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft