Tag Link | [Error_CurrentError] | Category | Error |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 3.0 |
Change | Unchanged | Data Source | Any |
Output Type | String or Integer | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x |
[Error_CurrentError] returns the current error code or error message.
[Error_CurrentError] [Error_CurrentError:
Optional Parameters | |
---|---|
-ErrorCode | If specified the error code is returned. Otherwise the error message is returned. |
To display the current error code and message:
Use the [Error_CurrentError] tag. The following code displays the current error code and message to the site visitor. The result shown below is if no error is currently reported.
<p>[Error_CurrentError:
<p>0: No Error
Container | ||
---|---|---|
|
|
|
Process | ||
|
|