LassoScript Utility
Basics Browse Detail


Tag Link [Abort] Category Conditional
Type Process Source Available No
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation Internal Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0
Lasso 3 Equivalent [Lasso_Abort]


[Abort] aborts processing the current page. The contents of the page to the point where [Abort] was called will be returned to the current client.




No Parameters Required.


To abort a page if an error occurs:

Use the [Abort] tag to immediately stop execution of a page if an error occurs. The following example checks [Error_CurrentError] to see if a 'Catastrophic Error' occured and aborts the page if it did.

[If: (Error_CurrentError) == 'Catastrophic Error']