Exception: UNotifier::NotificationNotFoundError
- Inherits:
-
UNotifierError
- Object
- StandardError
- UNotifierError
- UNotifier::NotificationNotFoundError
- Defined in:
- lib/exceptions.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key) ⇒ NotificationNotFoundError
constructor
A new instance of NotificationNotFoundError.
Constructor Details
#initialize(key) ⇒ NotificationNotFoundError
Returns a new instance of NotificationNotFoundError.
39 40 41 42 43 |
# File 'lib/exceptions.rb', line 39 def initialize(key) @key = key = "Notification with key '#{@key}' not found" super() end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
37 38 39 |
# File 'lib/exceptions.rb', line 37 def key @key end |