Exception: UniProp::FileExistsError

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

Instance Method Summary collapse

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