Exception: ChefApply::TargetResolver::UnsupportedProtocol

Inherits:
ErrorNoLogs
  • Object
show all
Defined in:
lib/chef_apply/target_resolver.rb

Instance Attribute Summary

Attributes inherited from Error

#decorate, #id, #params, #show_log, #show_stack

Instance Method Summary collapse

Constructor Details

#initialize(attempted_protocol) ⇒ UnsupportedProtocol

Returns a new instance of UnsupportedProtocol.



196
197
198
199
# File 'lib/chef_apply/target_resolver.rb', line 196

def initialize(attempted_protocol)
  super("CHEFVAL011", attempted_protocol,
        ChefApply::Config::SUPPORTED_PROTOCOLS.join(" "))
end