Exception: DeepAgents::FileNotFoundError

Inherits:
FileError show all
Defined in:
lib/deepagents/errors.rb

Overview

Error raised when a file is not found

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ FileNotFoundError



32
33
34
35
# File 'lib/deepagents/errors.rb', line 32

def initialize(path)
  @path = path
  super("File not found: #{path}")
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



30
31
32
# File 'lib/deepagents/errors.rb', line 30

def path
  @path
end