Exception: RemoveBg::FileOverwriteError
- Defined in:
- lib/remove_bg/error.rb
Instance Attribute Summary
Attributes inherited from FileError
Instance Method Summary collapse
-
#initialize(file_path) ⇒ FileOverwriteError
constructor
A new instance of FileOverwriteError.
Constructor Details
#initialize(file_path) ⇒ FileOverwriteError
Returns a new instance of FileOverwriteError.
52 53 54 |
# File 'lib/remove_bg/error.rb', line 52 def initialize(file_path) super("The file already exists: '#{file_path}' (use #save! or #save_zip! to overwrite existing files)", file_path) end |