Exception: Abyss::Errors::NotFound

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/abyss/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pathObject

Returns the value of attribute path.



6
7
8
# File 'lib/abyss/errors.rb', line 6

def path
  @path
end

Instance Method Details

#messageObject



12
13
14
# File 'lib/abyss/errors.rb', line 12

def message
  "Value at '#{path}' not found."
end