class Silo::FileNotFoundError

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

@author Sebastian Staudt @see Repository#restore @since 0.1.0

Public Class Methods

new(path) click to toggle source

Creates an instance of FileNotFoundError for the given file path

@param [String] path The path of the file that does not exist in the

repository
Calls superclass method
# File lib/silo/errors.rb, line 27
def initialize(path)
  super "File not found: '#{path}'"
end