Exception: Bolt::Plugin::PluginError
- Defined in:
- lib/bolt/plugin.rb
Instance Attribute Summary
Attributes inherited from Error
#details, #error_code, #issue_code, #kind
Instance Method Summary collapse
-
#initialize(msg, plugin, hook) ⇒ PluginError
constructor
A new instance of PluginError.
Methods inherited from Error
#msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(msg, plugin, hook) ⇒ PluginError
Returns a new instance of PluginError.
12 13 14 15 |
# File 'lib/bolt/plugin.rb', line 12 def initialize(msg, plugin, hook) mess = "Error executing plugin: #{plugin.name} from #{hook}: #{msg}" super(mess, 'bolt/plugin-error') end |