Exception: Silo::FileNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/silo/errors.rb

Overview

Raised when trying to restore files from a repository that do not exist.

See Also:

Author:

  • Sebastian Staudt

Since:

  • 0.1.0

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ FileNotFoundError

Creates an instance of FileNotFoundError for the given file path

Parameters:

  • path (String)

    The path of the file that does not exist in the repository

Since:

  • 0.1.0



27
28
29
# File 'lib/silo/errors.rb', line 27

def initialize(path)
  super "File not found: '#{path}'"
end