Exception: Regexp::Syntax::InvalidVersionNameError

Inherits:
SyntaxError show all
Defined in:
lib/regexp_parser/syntax/version_lookup.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ InvalidVersionNameError

Returns a new instance of InvalidVersionNameError.



7
8
9
# File 'lib/regexp_parser/syntax/version_lookup.rb', line 7

def initialize(name)
  super "Invalid version name '#{name}'. Expected format is '#{VERSION_FORMAT}'"
end