Exception: StateError
- Inherits:
-
StandardError
- Object
- StandardError
- StateError
- Defined in:
- lib/codebreaker/validation/errors/state_error.rb
Instance Method Summary collapse
-
#initialize ⇒ StateError
constructor
A new instance of StateError.
Constructor Details
#initialize ⇒ StateError
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 |