Class InvalidNotation

Exception thrown by the move notation parsing functions.

Constructors

Properties

Constructors

  • Parameters

    • fen: string
    • notation: string
    • message: string
    • Rest...tokens: unknown[]

    Returns InvalidNotation

Properties

fen: string

FEN representation of the position used to interpret the move notation.

message: string

Human-readable message describing the error.

notation: string

Move notation that causes the error.