Exception: StateError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/codebreaker/validation/errors/state_error.rb

Instance Method Summary collapse

Constructor Details

#initializeStateError

Returns a new instance of StateError.



4
5
6
# File 'lib/codebreaker/validation/errors/state_error.rb', line 4

def initialize
  super("Incorrect state of the game")
end