Exception: Valr::EmptyRepositoryError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Valr::EmptyRepositoryError
- Defined in:
- lib/valr/empty_repository_error.rb
Instance Method Summary collapse
-
#initialize(repo_path) ⇒ EmptyRepositoryError
constructor
Error raised when the repository is empty.
Constructor Details
#initialize(repo_path) ⇒ EmptyRepositoryError
Error raised when the repository is empty
5 6 7 |
# File 'lib/valr/empty_repository_error.rb', line 5 def initialize(repo_path) super("'#{repo_path}' is empty") end |