Exception: UniProp::FileExistsError
- Inherits:
-
StandardError
- Object
- StandardError
- UniProp::FileExistsError
- Defined in:
- lib/uniprop/errors.rb
Instance Method Summary collapse
-
#initialize(file_path) ⇒ FileExistsError
constructor
A new instance of FileExistsError.
Constructor Details
#initialize(file_path) ⇒ FileExistsError
Returns a new instance of FileExistsError.
15 16 17 |
# File 'lib/uniprop/errors.rb', line 15 def initialize(file_path) super("#{file_path} is already exists. Please delete the file and run again.") end |