diff options
Diffstat (limited to 'error.py')
| -rw-r--r-- | error.py | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -56,6 +56,10 @@ class RepoUnhandledExceptionError(RepoExitError): | |||
| 56 | self.error = error | 56 | self.error = error |
| 57 | 57 | ||
| 58 | 58 | ||
| 59 | class SilentRepoExitError(RepoExitError): | ||
| 60 | """RepoExitError that should no include CLI logging of issue/issues.""" | ||
| 61 | |||
| 62 | |||
| 59 | class ManifestParseError(RepoExitError): | 63 | class ManifestParseError(RepoExitError): |
| 60 | """Failed to parse the manifest file.""" | 64 | """Failed to parse the manifest file.""" |
| 61 | 65 | ||
| @@ -125,6 +129,10 @@ class DownloadError(RepoExitError): | |||
| 125 | return self.reason | 129 | return self.reason |
| 126 | 130 | ||
| 127 | 131 | ||
| 132 | class InvalidArgumentsError(RepoExitError): | ||
| 133 | """Invalid command Arguments.""" | ||
| 134 | |||
| 135 | |||
| 128 | class SyncError(RepoExitError): | 136 | class SyncError(RepoExitError): |
| 129 | """Cannot sync repo.""" | 137 | """Cannot sync repo.""" |
| 130 | 138 | ||
