Exception: Sturdy::RepositoryError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/sturdy/repository_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(repo_path) ⇒ RepositoryError

Error raised when not in a repository

Parameters:

  • repo_path (String)

    Path in which to search a repository



5
6
7
# File 'lib/sturdy/repository_error.rb', line 5

def initialize(repo_path)
  super("'#{repo_path}' is not a git repository")
end