Exception: CodeKeeper::TargetFileNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/code_keeper.rb

Overview

Raised when a file does not exist

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ TargetFileNotFoundError

Returns a new instance of TargetFileNotFoundError.



30
31
32
33
# File 'lib/code_keeper.rb', line 30

def initialize(path)
  msg = "The target file does not exist. Check the file path: #{path}."
  super(msg)
end