Class: Bolt::Plugin::PluginError::UnsupportedHook

Inherits:
PluginError
  • Object
show all
Defined in:
lib/bolt/plugin.rb

Instance Method Summary collapse

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