Class
Chess::InvalidPgnFormatError
< StandardError
lib/chess/exceptions.rb
This exception will be raised when a malformed PGN file is loaded.