Exception: Gherkin::UnexpectedEOFException
- Inherits:
-
ParserException
- Object
- StandardError
- ParserError
- ParserException
- Gherkin::UnexpectedEOFException
- Defined in:
- lib/gherkin/errors.rb
Instance Attribute Summary
Attributes inherited from ParserException
Instance Method Summary collapse
-
#initialize(received_token, expected_token_types, state_comment) ⇒ UnexpectedEOFException
constructor
A new instance of UnexpectedEOFException.
Constructor Details
#initialize(received_token, expected_token_types, state_comment) ⇒ UnexpectedEOFException
Returns a new instance of UnexpectedEOFException.
40 41 42 43 |
# File 'lib/gherkin/errors.rb', line 40 def initialize(received_token, expected_token_types, state_comment) = "unexpected end of file, expected: #{expected_token_types.join(", ")}" super(, received_token.location) end |