Module: YeSQL::Errors::FilePathDoesNotExistError
- Included in:
- YeSQL
- Defined in:
- lib/yesql/errors/file_path_does_not_exist_error.rb
Instance Method Summary collapse
Instance Method Details
#validate_file_path_existence(file_path) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/yesql/errors/file_path_does_not_exist_error.rb', line 6 def validate_file_path_existence(file_path) return if file_exists?(file_path) raise NotImplementedError, format(MESSAGE, available_files: available_files, file_path: file_path, path: ::YeSQL.config.path) end |