Name
parser:GetError -- get extended error information (V2.0)
Synopsis
s$, line, col, pos = parser:GetError()
Function
If parser:Parse() returns an error, you can use this method to get extended error information. The method returns a human-readable error message in s$, the line and column index of the error in line and col and the byte index of the error in pos.

Inputs
none

Results
s$
error message
line
line index (starting from 1)
col
column index (starting from 1)
pos
byte index of the error (starting from 1)

Show TOC