diff options
Diffstat (limited to 'error.py')
-rw-r--r-- | error.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -24,6 +24,13 @@ class ManifestInvalidRevisionError(Exception): | |||
24 | class NoManifestException(Exception): | 24 | class 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 | ||
28 | class EditorError(Exception): | 35 | class EditorError(Exception): |
29 | """Unspecified error from the user's text editor. | 36 | """Unspecified error from the user's text editor. |