aboutsummaryrefslogtreecommitdiff
path: root/paludis/syncer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/syncer.hh')
-rw-r--r--paludis/syncer.hh16
1 files changed, 16 insertions, 0 deletions
diff --git a/paludis/syncer.hh b/paludis/syncer.hh
index f3d7b7532..dff8c8678 100644
--- a/paludis/syncer.hh
+++ b/paludis/syncer.hh
@@ -119,6 +119,22 @@ namespace paludis
};
/**
+ * Thrown if a directory exists where a Git repository should be cloned.
+ *
+ * \ingroup grpsyncer
+ * \ingroup grpexceptions
+ */
+ class SyncGitDirectoryExists :
+ public SyncFailedError
+ {
+ public:
+ /**
+ * Constructor.
+ */
+ SyncGitDirectoryExists(const std::string & local) throw ();
+ };
+
+ /**
* Thrown if a syncer of the specified type does not exist.
*
* \ingroup grpsyncer