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.



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

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