Exception: Gherkin3::UnexpectedEOFException
- Inherits:
-
ParserException
- Object
- StandardError
- ParserError
- ParserException
- Gherkin3::UnexpectedEOFException
- Defined in:
- lib/gherkin3/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/gherkin3/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 |