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.



198
199
200
201
# File 'lib/chef_apply/target_resolver.rb', line 198

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