| Tag Link | [Error_NoError] | 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_NoError] returns the default error code or error message reported when no error has occured. [Error_NoError] is returned when a database action is successful.
The value of this tag can be compared against an error generated by Lasso or can be used to report an error.
[Error_NoError] [Error_NoError:
[If: (Error_NoError) == (Error_CurrentError)] ... [/If]
[Error_SetErrorMessage: (Error_NoError)]
[Error_SetErrorCode: (Error_NoError:
| Optional Parameters | |
|---|---|
| -ErrorCode | If specified the error code is returned. Otherwise the error message is returned. |
To check whether the current error is no error:
Compare the [Error_CurrentError] tag with the [Error_NoError] tag. If they match then no error has occured.
[If: (Error_NoError) == (Error_CurrentError)]
<br>No error has occurred. Success!
[/If]
<br>No error has occurred. Success!
| Container | ||
|---|---|---|
|
|
|
|
| Process | ||
|
|
|