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.



44
45
46
# File 'lib/remove_bg/error.rb', line 44

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