Exception: SimpleUtilities::NoFileExistsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/simple_utilities/exceptions/file_methods_exception.rb

Overview

Test

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ NoFileExistsError

Returns a new instance of NoFileExistsError.



15
16
17
18
# File 'lib/simple_utilities/exceptions/file_methods_exception.rb', line 15

def initialize(path)
  message = "No file exists for the given path: #{path}"
  super(message)
end