Exception: Bolt::Plugin::EnvVar::InvalidPluginData

Inherits:
PluginError show all
Defined in:
lib/bolt/plugin/env_var.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(msg, plugin) ⇒ InvalidPluginData

Returns a new instance of InvalidPluginData.



8
9
10
11
# File 'lib/bolt/plugin/env_var.rb', line 8

def initialize(msg, plugin)
  msg = "Invalid Plugin Data for #{plugin}: #{msg}"
  super(msg, 'bolt/invalid-plugin-data')
end