Class: Bolt::Plugin::PluginError::UnsupportedHook
- Inherits:
-
PluginError
- Object
- PluginError
- Bolt::Plugin::PluginError::UnsupportedHook
- Defined in:
- lib/bolt/plugin.rb
Instance Method Summary collapse
-
#initialize(plugin_name, hook) ⇒ UnsupportedHook
constructor
A new instance of UnsupportedHook.
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 |