class Gherkin::Parser::ParseError
def initialize(state, new_state, expected_states, line)
def initialize(state, new_state, expected_states, line) super("Parse error on line #{line}. Found #{new_state} when expecting one of: #{expected_states.join(', ')}. (Current state: #{state}).") end