Exception: DeleteFileError
- Inherits:
-
AMIToolExceptions::EC2FatalError
- Object
- RuntimeError
- AMIToolExceptions::EC2FatalError
- DeleteFileError
- Defined in:
- lib/ec2/amitools/deletebundle.rb
Overview
——————————————————————————#
Instance Attribute Summary
Attributes inherited from AMIToolExceptions::EC2FatalError
Instance Method Summary collapse
-
#initialize(file, reason) ⇒ DeleteFileError
constructor
A new instance of DeleteFileError.
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 |