Add error kind for wrong branch checked out

This commit is contained in:
Matthias Beyer 2016-09-19 09:52:21 +02:00
parent 352f468a27
commit a74b46deed

View file

@ -15,6 +15,7 @@ generate_error_module!(
RepositoryBackendError => "Error in the git library", RepositoryBackendError => "Error in the git library",
RepositoryBranchError => "Error while interacting with git branch(es)", RepositoryBranchError => "Error while interacting with git branch(es)",
RepositoryBranchNameFetchingError => "Error while fetching branch name", RepositoryBranchNameFetchingError => "Error while fetching branch name",
RepositoryWrongBranchError => "Error because repository is on wrong branch",
RepositoryIndexFetchingError => "Error while fetching Repository Index", RepositoryIndexFetchingError => "Error while fetching Repository Index",
RepositoryIndexWritingError => "Error while writing Repository Index", RepositoryIndexWritingError => "Error while writing Repository Index",
RepositoryPathAddingError => "Error while adding Path to Index", RepositoryPathAddingError => "Error while adding Path to Index",