Exception: BackupOrganizer::Error::ErrorWithCustomMessage
- Inherits:
-
BaseError
- Object
- StandardError
- BaseError
- BackupOrganizer::Error::ErrorWithCustomMessage
- Defined in:
- lib/backup_organizer/error/error_with_custom_message.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message) ⇒ ErrorWithCustomMessage
constructor
A new instance of ErrorWithCustomMessage.
Constructor Details
#initialize(message) ⇒ ErrorWithCustomMessage
Returns a new instance of ErrorWithCustomMessage.
6 7 8 |
# File 'lib/backup_organizer/error/error_with_custom_message.rb', line 6 def initialize() @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
4 5 6 |
# File 'lib/backup_organizer/error/error_with_custom_message.rb', line 4 def @message end |