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.



217
218
219
220
# File 'lib/chef_core/target_resolver.rb', line 217

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