Returns the name of the tag where the error has been occurred.
1 error.tag
<error.tag />
Returns | |
---|---|
Type | Description |
String | Name of the tag where the error has been occurred. |
Example
Copy
<xsql-script> <body> <try> <body> <!-- A exception in the database engine can be performed (description column does not exist) --> <insert table='cdiarios'> <column name='descri'>test</column> </insert> </body> <catch> <println>Error at line: <error.line/></println> <println>.......in tag: <error.tag/></println> </catch> </try> </body> </xsql-script>
Returns:
Copy
Error at line: 7 .......in tag: insert