Exception: InvalidMoveError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ari_chess/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = "Invalid move!") ⇒ InvalidMoveError

Returns a new instance of InvalidMoveError.



2
3
4
# File 'lib/ari_chess/error.rb', line 2

def initialize(message = "Invalid move!")
  super(message)
end