Exception: Bolt::Plugin::PluginError::LoadingDisabled
- Inherits:
-
Bolt::Plugin::PluginError
- Object
- RuntimeError
- Error
- Bolt::Plugin::PluginError
- Bolt::Plugin::PluginError::LoadingDisabled
- 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) ⇒ LoadingDisabled
constructor
A new instance of LoadingDisabled.
Methods inherited from Error
#add_filelineno, #msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(plugin_name) ⇒ LoadingDisabled
Returns a new instance of LoadingDisabled.
42 43 44 45 |
# File 'lib/bolt/plugin.rb', line 42 def initialize(plugin_name) msg = "Cannot load plugin #{plugin_name}: plugin loading is disabled" super(msg, 'bolt/plugin-loading-disabled', { 'plugin_name' => plugin_name }) end |