Exception: DeepAgents::FileNotFoundError
- Defined in:
- lib/deepagents/errors.rb
Overview
Error raised when a file is not found
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ FileNotFoundError
constructor
A new instance of FileNotFoundError.
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
30 31 32 |
# File 'lib/deepagents/errors.rb', line 30 def path @path end |