Exception: RemoveBg::FileMissingError

Inherits:
FileError show all
Defined in:
lib/remove_bg/error.rb

Instance Attribute Summary

Attributes inherited from FileError

#file_path

Instance Method Summary collapse

Constructor Details

#initialize(file_path) ⇒ FileMissingError

Returns a new instance of FileMissingError.



46
47
48
# File 'lib/remove_bg/error.rb', line 46

def initialize(file_path)
  super("The file doesn't exist: '#{file_path}'", file_path)
end