Exception: Bolt::Plugin::Module::InvalidPluginData
- Inherits:
-
PluginError
- Object
- RuntimeError
- Error
- PluginError
- Bolt::Plugin::Module::InvalidPluginData
- Defined in:
- lib/bolt/plugin/module.rb
Instance Attribute Summary
Attributes inherited from Error
#details, #error_code, #issue_code, #kind
Instance Method Summary collapse
-
#initialize(plugin, msg) ⇒ InvalidPluginData
constructor
A new instance of InvalidPluginData.
Methods inherited from Error
#msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(plugin, msg) ⇒ InvalidPluginData
Returns a new instance of InvalidPluginData.
9 10 11 12 |
# File 'lib/bolt/plugin/module.rb', line 9 def initialize(plugin, msg) msg = "Invalid Plugin Data for #{plugin}: #{msg}" super(msg, 'bolt/invalid-plugin-data') end |