[Fail: Error Code, 'Error Message']
Use the [Fail] tag. Lasso will immediately halt processing of the current page or [Protect] ... [/Protect] block and report the error to the user or run any [Handle] ... [/Handle] tags that are present.
The following code will report an unknown error.
[Fail: -1, 'Unknown Error']
Tag Link | [Fail] | Category | Error |
---|---|---|---|
Type | Process | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | None | Security | None |
Implementation | Internal | Sets | Lasso 7.0, Lasso 6.0, Lasso 5.0 |
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