Exception: UNotifier::NotificationsConfigNotFoundError
- Inherits:
-
UNotifierError
- Object
- StandardError
- UNotifierError
- UNotifier::NotificationsConfigNotFoundError
- Defined in:
- lib/exceptions.rb
Instance Attribute Summary collapse
-
#absolute_path ⇒ Object
readonly
Returns the value of attribute absolute_path.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ NotificationsConfigNotFoundError
constructor
A new instance of NotificationsConfigNotFoundError.
Constructor Details
#initialize(path) ⇒ NotificationsConfigNotFoundError
Returns a new instance of NotificationsConfigNotFoundError.
28 29 30 31 32 33 |
# File 'lib/exceptions.rb', line 28 def initialize(path) @path = path @absolute_path = File.(@path) = "Configuration file not found at #{@absolute_path}" super() end |
Instance Attribute Details
#absolute_path ⇒ Object (readonly)
Returns the value of attribute absolute_path.
26 27 28 |
# File 'lib/exceptions.rb', line 26 def absolute_path @absolute_path end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
26 27 28 |
# File 'lib/exceptions.rb', line 26 def path @path end |