LassoScript Utility
Basics Browse Detail


Tag Link [Error_Code] Category Error
Type Substitution Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type Integer Security Tag
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0


The [Error_Code] tag returns the current error code. Lasso keeps track of one error code which can be set by any tag.

Calling [Error_Msg] and [Error_Code] immediately after calling certain tags will display information about any errors that were experienced by the tag. The error code and message will remain until they are reset by another tag call.

Note: This tag returns the same value as [Error_CurrentError: -ErrorCode].




No Parameters Required.


See the Lasso 8 Language Guide for examples of how to use this tag.