Exception: Gherkin::ParserException
- Inherits:
-
ParserError
- Object
- StandardError
- ParserError
- Gherkin::ParserException
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-gherkin-23.0.1/lib/gherkin/errors.rb
Direct Known Subclasses
AstBuilderException, NoSuchLanguageException, UnexpectedEOFException, UnexpectedTokenException
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize(message, location) ⇒ ParserException
constructor
A new instance of ParserException.
Constructor Details
#initialize(message, location) ⇒ ParserException
Returns a new instance of ParserException.
9 10 11 12 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-gherkin-23.0.1/lib/gherkin/errors.rb', line 9 def initialize(, location) @location = location super("(#{location[:line]}:#{location[:column] || 0}): #{}") end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
7 8 9 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-gherkin-23.0.1/lib/gherkin/errors.rb', line 7 def location @location end |