Exception: BoltServer::Plugin::PluginNotSupported

Inherits:
Bolt::Error
  • Object
show all
Defined in:
lib/bolt_server/plugin.rb

Instance Attribute Summary

Attributes inherited from Bolt::Error

#details, #error_code, #issue_code, #kind

Instance Method Summary collapse

Methods inherited from Bolt::Error

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

Constructor Details

#initialize(msg, plugin_name) ⇒ PluginNotSupported

Returns a new instance of PluginNotSupported.



8
9
10
# File 'lib/bolt_server/plugin.rb', line 8

def initialize(msg, plugin_name)
  super(msg, 'bolt/plugin-not-supported', { "plugin_name" => plugin_name })
end