Tag Link | [Error_Pop] | Category | Error |
---|---|---|---|
Type | Process | Source Available | Yes |
Support | Preferred | Version | 8.5.2 |
Change | New | Data Source | Any |
Output Type | None | Security | None |
Implementation | LassoScript | Sets | Lasso 8.5 |
[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 custom tag can use error handling within itself without modifying the error condition for the remainder of code on the page. These tags can also be used to prevent an error condition from propagating into a protect block.
[Error_Push]
[Inline: ...]
...
[/Inline]
[Error_Pop]
[Define_Tag: 'myTag']
[Error_Push]
... code which uses error handling
[Error_Pop]
[/Define_Tag]
[Error_Push]
[Protect]
...
[Handle_Error]
...
[/Handle_Error]
[/Protect]
[Error_Pop]
No Parameters Required.
This tag was added in Lasso 8.5.2.
See the Lasso 8 Language Guide for examples of how to use this tag.
Container | ||
---|---|---|
|
|
|
Process | ||
|
|