Exception: Bolt::Plugin::PluginError::ExecutionError
- Inherits:
-
Bolt::Plugin::PluginError
- Object
- RuntimeError
- Error
- Bolt::Plugin::PluginError
- Bolt::Plugin::PluginError::ExecutionError
- 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_name, location) ⇒ ExecutionError
constructor
A new instance of ExecutionError.
Methods inherited from Error
#add_filelineno, #msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(msg, plugin_name, location) ⇒ ExecutionError
Returns a new instance of ExecutionError.
23 24 25 26 |
# File 'lib/bolt/plugin.rb', line 23 def initialize(msg, plugin_name, location) mess = "Error executing plugin #{plugin_name} from #{location}: #{msg}" super(mess, 'bolt/plugin-error') end |