Exception: FatalError
- Inherits:
-
Exception
- Object
- Exception
- FatalError
- Defined in:
- lib/ec2/amitools/exception.rb
Overview
An exception thrown to indicate an unrecoverable error has been encountered. The process should be terminated and the exception’s message should be displayed to the user.
Direct Known Subclasses
AMIInvalid, DirectoryError, DownloadError, FileError, ParameterError, UploadError
Instance Method Summary collapse
-
#initialize(message, cause = nil) ⇒ FatalError
constructor
((|message|)) The message that should be displayed to the user.
Constructor Details
#initialize(message, cause = nil) ⇒ FatalError
((|message|)) The message that should be displayed to the user. ((|cause|)) The exception that caused the fatal error.
21 22 23 24 |
# File 'lib/ec2/amitools/exception.rb', line 21 def initialize(, cause = nil) super() @cause = cause end |