Exception: Cucumber::CucumberExpressions::InvalidParameterTypeName

Inherits:
CucumberExpressionError show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-cucumber-expressions-15.2.0/lib/cucumber/cucumber_expressions/errors.rb

Instance Method Summary collapse

Methods inherited from CucumberExpressionError

#build_message, #point_at, #point_at_located

Constructor Details

#initialize(type_name) ⇒ InvalidParameterTypeName

Returns a new instance of InvalidParameterTypeName.



154
155
156
157
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-cucumber-expressions-15.2.0/lib/cucumber/cucumber_expressions/errors.rb', line 154

def initialize(type_name)
  super("Illegal character in parameter name {#{type_name}}. " +
            "Parameter names may not contain '{', '}', '(', ')', '\\' or '/'")
end