Exception: Chef::Provider::AwsEbsVolume::VolumeInvalidStatusError

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

Instance Method Summary collapse

Constructor Details

#initialize(new_resource, status) ⇒ VolumeInvalidStatusError

Returns a new instance of VolumeInvalidStatusError.



24
25
26
# File 'lib/chef/provider/aws_ebs_volume.rb', line 24

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