Exception: Chess::InvalidPgnFormatError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chess/exceptions.rb

Overview

This exception will be raised when a malformed PGN file is loaded.

Instance Method Summary collapse

Constructor Details

#initializeInvalidPgnFormatError

Returns a new instance of InvalidPgnFormatError.



13
14
15
# File 'lib/chess/exceptions.rb', line 13

def initialize
  super('Invalid PGN format')
end