Rest
...tokens: unknown[]Index (0-based) of the character in the PGN string where the parsing fails (or a negative value if no particular character is related to the error).
Index (1-based) of the line in the PGN string where the parsing fails (or a negative value if no particular character is related to the error).
Human-readable message describing the error.
PGN string that causes the error.
Exception thrown by the PGN parsing functions.