Exception: Mealy::UnexpectedTokenError
- Inherits:
-
StandardError
- Object
- StandardError
- Mealy::UnexpectedTokenError
- Defined in:
- lib/mealy.rb
Overview
Error indicating that there is no transition from the current state with the token read.
Instance Method Summary collapse
-
#initialize(state, on) ⇒ UnexpectedTokenError
constructor
A new instance of UnexpectedTokenError.
Constructor Details
#initialize(state, on) ⇒ UnexpectedTokenError
Returns a new instance of UnexpectedTokenError.
12 13 14 |
# File 'lib/mealy.rb', line 12 def initialize(state, on) super("FSM error #{self.class} in state #{state.inspect} reading #{on}") end |