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