Exception: Abyss::Errors::NotFound
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Abyss::Errors::NotFound
- Defined in:
- lib/abyss/errors.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ NotFound
constructor
A new instance of NotFound.
- #message ⇒ Object
Constructor Details
#initialize(path) ⇒ NotFound
Returns a new instance of NotFound.
8 9 10 |
# File 'lib/abyss/errors.rb', line 8 def initialize(path) self.path = path end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
6 7 8 |
# File 'lib/abyss/errors.rb', line 6 def path @path end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/abyss/errors.rb', line 12 def "Value at '#{path}' not found." end |