exception.InvalidPGN()

Exception thrown by the PGN parsing functions.

new InvalidPGN()

Members

index :number

Index (0-based) of the character in the PGN string where the parsing fails (or a negative value is no particular character is related to the error).

lineNumber

Index (1-based) of the line in the PGN string where the parsing fails (or a negative value is no particular character is related to the error).

message :string

Human-readable message describing the error.

pgn :string

PGN string that causes the error.