Exception: Chef::Provider::AwsNetworkInterface::NetworkInterfaceInvalidStatusError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/chef/provider/aws_network_interface.rb

Instance Method Summary collapse

Constructor Details

#initialize(new_resource, status) ⇒ NetworkInterfaceInvalidStatusError

Returns a new instance of NetworkInterfaceInvalidStatusError.



20
21
22
# File 'lib/chef/provider/aws_network_interface.rb', line 20

def initialize(new_resource, status)
  super("#{new_resource} is in #{status} state!")
end