Exception: Puppet::Module::Task::InvalidName
- Defined in:
- lib/puppet/module/task.rb
Instance Attribute Summary
Attributes inherited from Error
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(name) ⇒ InvalidName
constructor
A new instance of InvalidName.
Methods inherited from Error
Constructor Details
#initialize(name) ⇒ InvalidName
Returns a new instance of InvalidName.
23 24 25 26 |
# File 'lib/puppet/module/task.rb', line 23 def initialize(name) msg = _("Task names must start with a lowercase letter and be composed of only lowercase letters, numbers, and underscores") super(msg, 'puppet.tasks/invalid-name') end |