class RemoveBg::FileOverwriteError

Public Class Methods

new(file_path) click to toggle source
Calls superclass method RemoveBg::FileError::new
# File lib/remove_bg/error.rb, line 50
def initialize(file_path)
  super("The file already exists: '#{file_path}' (specify #save(overwrite: true) to ignore)", file_path)
end