Exception: ServerBackups::BackupCreationError
- Inherits:
-
StandardError
- Object
- StandardError
- ServerBackups::BackupCreationError
- Defined in:
- lib/server_backups/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#backup_class ⇒ Object
readonly
Returns the value of attribute backup_class.
-
#backup_type ⇒ Object
readonly
Returns the value of attribute backup_type.
Instance Method Summary collapse
-
#initialize(msg, backup_class, backup_type) ⇒ BackupCreationError
constructor
A new instance of BackupCreationError.
Constructor Details
#initialize(msg, backup_class, backup_type) ⇒ BackupCreationError
Returns a new instance of BackupCreationError.
6 7 8 9 10 |
# File 'lib/server_backups/errors.rb', line 6 def initialize(msg, backup_class, backup_type) @backup_class = backup_class @backup_type = backup_type super(msg) end |
Instance Attribute Details
#backup_class ⇒ Object (readonly)
Returns the value of attribute backup_class.
5 6 7 |
# File 'lib/server_backups/errors.rb', line 5 def backup_class @backup_class end |
#backup_type ⇒ Object (readonly)
Returns the value of attribute backup_type.
5 6 7 |
# File 'lib/server_backups/errors.rb', line 5 def backup_type @backup_type end |