Exception: MotherBrain::FileNotFound
- Defined in:
- lib/mb/errors.rb
Constant Summary
Constants inherited from MBError
Instance Method Summary collapse
-
#initialize(path) ⇒ FileNotFound
constructor
A new instance of FileNotFound.
- #message ⇒ Object
Methods inherited from MBError
#error_code, error_code, exit_code, #exit_code, #to_hash, #to_json, #to_s
Constructor Details
#initialize(path) ⇒ FileNotFound
Returns a new instance of FileNotFound.
475 476 477 |
# File 'lib/mb/errors.rb', line 475 def initialize(path) @path = path end |
Instance Method Details
#message ⇒ Object
479 480 481 |
# File 'lib/mb/errors.rb', line 479 def "File does not exist: #{path}" end |