[Error_Pop] restores the error code and error message from an earlier [Error_Push] call.
[Error_Push] and [Error_Pop] can be used to maintain the current error code while executing code which might produce an error. For example, a method can use error handling within itself without modifying the error condition for the remainder of code on the page. These methods can also be used to prevent an error condition from propagating into a protect block.
Error_Push
Inline(...)
...
/Inline
Error_Pop
define myTag()=>{
Error_Push
... code which uses error handling
Error_Pop
}
Error_Push
Protect
...
Handle_Error
...
/Handle_Error
/Protect
Error_Pop
No examples found
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
Recent Comments