summaryrefslogtreecommitdiffstats
path: root/error.py
diff options
context:
space:
mode:
Diffstat (limited to 'error.py')
-rw-r--r--error.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/error.py b/error.py
index 52381581..812585cd 100644
--- a/error.py
+++ b/error.py
@@ -57,6 +57,15 @@ class UploadError(Exception):
57 def __str__(self): 57 def __str__(self):
58 return self.reason 58 return self.reason
59 59
60class DownloadError(Exception):
61 """Cannot download a repository.
62 """
63 def __init__(self, reason):
64 self.reason = reason
65
66 def __str__(self):
67 return self.reason
68
60class NoSuchProjectError(Exception): 69class NoSuchProjectError(Exception):
61 """A specified project does not exist in the work tree. 70 """A specified project does not exist in the work tree.
62 """ 71 """