Exception: Bolt::Plugin::PluginError::Unknown

Inherits:
Bolt::Plugin::PluginError show all
Defined in:
lib/bolt/plugin.rb

Instance Attribute Summary

Attributes inherited from Error

#details, #error_code, #issue_code, #kind

Instance Method Summary collapse

Methods inherited from Error

#add_filelineno, #msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task

Constructor Details

#initialize(plugin_name) ⇒ Unknown

Returns a new instance of Unknown.



30
31
32
# File 'lib/bolt/plugin.rb', line 30

def initialize(plugin_name)
  super("Unknown plugin: '#{plugin_name}'", 'bolt/unknown-plugin')
end