Lasso Soft Inc. > Home

[ abort ]


[Abort] aborts processing the current thread. All current [handle]s will still be executed. A [protect] block will not stop an abort, but an abort can be halted by calling [abort_clear].

During a web request, the web_request object handles ensuring that all current web content gets sent to the client after an abort is called.

  • Syntax
  • Beginner

To abort a page if an error occurs:

Use the [Abort] method 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')

Recent Comments


Posted on: 07 May 2018

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. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft