Exception: Kotoshu::InputFileNotFoundError
- Defined in:
- lib/kotoshu/core/exceptions.rb,
sig/kotoshu.rbs
Overview
Raised when the FILE BEING CHECKED does not exist (plan 141) - distinct from dictionary-resource errors.
Instance Attribute Summary collapse
-
#path ⇒ String
readonly
The path that was not found.
Instance Method Summary collapse
-
#initialize(path, message = nil) ⇒ InputFileNotFoundError
constructor
A new instance of InputFileNotFoundError.
Constructor Details
#initialize(path, message = nil) ⇒ InputFileNotFoundError
Returns a new instance of InputFileNotFoundError.
20 21 22 23 |
# File 'lib/kotoshu/core/exceptions.rb', line 20 def initialize(path, = nil) @path = path super( || "Input file not found: #{path}") end |
Instance Attribute Details
#path ⇒ String (readonly)
Returns The path that was not found.
26 27 28 |
# File 'lib/kotoshu/core/exceptions.rb', line 26 def path @path end |