Exception: DeleteFileError

Inherits:
AMIToolExceptions::EC2FatalError show all
Defined in:
lib/ec2/amitools/deletebundle.rb

Overview

——————————————————————————#

Instance Attribute Summary

Attributes inherited from AMIToolExceptions::EC2FatalError

#code

Instance Method Summary collapse

Constructor Details

#initialize(file, reason) ⇒ DeleteFileError

Returns a new instance of DeleteFileError.



47
48
49
# File 'lib/ec2/amitools/deletebundle.rb', line 47

def initialize(file, reason)
  super(5,"Could not delete file '#{file}': #{reason}")
end