summaryrefslogtreecommitdiffstats
path: root/error.py
diff options
context:
space:
mode:
Diffstat (limited to 'error.py')
-rw-r--r--error.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/error.py b/error.py
index 7e52b016..ff948f9c 100644
--- a/error.py
+++ b/error.py
@@ -24,6 +24,13 @@ class ManifestInvalidRevisionError(Exception):
24class NoManifestException(Exception): 24class NoManifestException(Exception):
25 """The required manifest does not exist. 25 """The required manifest does not exist.
26 """ 26 """
27 def __init__(self, path, reason):
28 super(NoManifestException, self).__init__()
29 self.path = path
30 self.reason = reason
31
32 def __str__(self):
33 return self.reason
27 34
28class EditorError(Exception): 35class EditorError(Exception):
29 """Unspecified error from the user's text editor. 36 """Unspecified error from the user's text editor.