Exception: Rudy::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Rudy::Error
- Defined in:
- lib/rudy/exceptions.rb
Direct Known Subclasses
AWS::EC2::AddressAssociated, AWS::EC2::AddressNotAssociated, AWS::EC2::ErrorCreatingAddress, AWS::EC2::ErrorCreatingKeypair, AWS::EC2::InsecureKeypairPermissions, AWS::EC2::InvalidRegion, AWS::EC2::KeypairAlreadyDefined, AWS::EC2::KeypairExists, AWS::EC2::MalformedResponse, AWS::EC2::NoAMI, AWS::EC2::NoAddress, AWS::EC2::NoDevice, AWS::EC2::NoGroup, AWS::EC2::NoInstanceID, AWS::EC2::NoKeypair, AWS::EC2::NoPrivateKeyFile, AWS::EC2::NoRunningInstances, AWS::EC2::NoVolumeID, AWS::EC2::UnknownAddress, AWS::EC2::UnknownState, AWS::EC2::UnknownVolume, AWS::EC2::VolumeAlreadyAttached, AWS::EC2::VolumeNotAttached, AWS::EC2::VolumeNotAvailable, AWS::SDB::ConnectionError, Backups::NoBackup, Backups::NoDisk, Config::Error, Disks::AlreadyAttached, Disks::AlreadyFormatted, Disks::AlreadyMounted, Disks::InUse, Disks::NotAttached, Disks::NotFormatted, Disks::NotMounted, InsecureKeyPermissions, MachineAlreadyRunning, MachineGroupAlreadyRunning, MachineGroupMetadataExists, MachineGroupNotDefined, MachineGroupNotRunning, MachineNotRunning, Metadata::DuplicateRecord, Metadata::UnknownObject, Metadata::UnknownRecordType, NoConfig, NoGlobal, NoMachines, NoMachinesConfig, NoRoutinesConfig, NotImplemented, PrivateKeyFileExists, PrivateKeyNotFound, Routines::EmptyDepends, Routines::GroupNotAvailable, Routines::GroupNotRunning, Routines::NoHandler, Routines::NoRoutine, Routines::UnsupportedActions, ServiceUnavailable, UnsupportedOS
Instance Method Summary collapse
-
#initialize(obj = nil) ⇒ Error
constructor
A new instance of Error.
- #message ⇒ Object
Constructor Details
#initialize(obj = nil) ⇒ Error
Returns a new instance of Error.
4 |
# File 'lib/rudy/exceptions.rb', line 4 def initialize(obj=nil); @obj = obj; end |
Instance Method Details
#message ⇒ Object
5 |
# File 'lib/rudy/exceptions.rb', line 5 def ; "#{self.class}: #{@obj}"; end |