Exception: Sturdy::RepositoryError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Sturdy::RepositoryError
- Defined in:
- lib/sturdy/repository_error.rb
Instance Method Summary collapse
-
#initialize(repo_path) ⇒ RepositoryError
constructor
Error raised when not in a repository.
Constructor Details
#initialize(repo_path) ⇒ RepositoryError
Error raised when not in 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 |