Exception: ChefCore::TargetResolver::UnsupportedProtocol

Inherits:
TargetResolverError show all
Defined in:
lib/chef_core/target_resolver.rb

Instance Attribute Summary

Attributes inherited from Error

#id, #params

Instance Method Summary collapse

Constructor Details

#initialize(attempted_protocol) ⇒ UnsupportedProtocol

Returns a new instance of UnsupportedProtocol.



215
216
217
218
# File 'lib/chef_core/target_resolver.rb', line 215

def initialize(attempted_protocol)
  super("CHEFVAL011", attempted_protocol,
        ChefCore::TargetResolver::SUPPORTED_PROTOCOLS.join(" "))
end