Exception: Valr::EmptyRepositoryError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/valr/empty_repository_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(repo_path) ⇒ EmptyRepositoryError

Error raised when the repository is empty

Parameters:

  • repo_path (String)

    Path in which to search a repository



5
6
7
# File 'lib/valr/empty_repository_error.rb', line 5

def initialize(repo_path)
  super("'#{repo_path}' is empty")
end