Exception: Bolt::Plugin::PluginError::UnsupportedHook
- Inherits:
-
Bolt::Plugin::PluginError
- Object
- RuntimeError
- Error
- Bolt::Plugin::PluginError
- Bolt::Plugin::PluginError::UnsupportedHook
- Defined in:
- lib/bolt/plugin.rb
Instance Attribute Summary
Attributes inherited from Error
#details, #error_code, #issue_code, #kind
Instance Method Summary collapse
-
#initialize(plugin_name, hook) ⇒ UnsupportedHook
constructor
A new instance of UnsupportedHook.
Methods inherited from Error
#add_filelineno, #msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(plugin_name, hook) ⇒ UnsupportedHook
Returns a new instance of UnsupportedHook.
36 37 38 |
# File 'lib/bolt/plugin.rb', line 36 def initialize(plugin_name, hook) super("Plugin #{plugin_name} does not support #{hook}", 'bolt/unsupported-hook') end |