| 1 |
# -------------------------------------------------------------------------------------------- |
| 2 |
# Copyright (c) Microsoft Corporation. All rights reserved. |
| 3 |
# Licensed under the MIT License. See License.txt in the project root for license information. |
| 4 |
# -------------------------------------------------------------------------------------------- |
| 5 |
|
| 6 |
class BaseException(Exception): |
| 7 |
def __init__(self, message=None): |
| 8 |
self.message = message |
| 9 |
|
| 10 |
class GitOperationException(BaseException): |
| 11 |
pass |
| 12 |
|
| 13 |
|
| 14 |
class RoleAssignmentException(BaseException): |
| 15 |
pass |
| 16 |
|
| 17 |
|
| 18 |
class LanguageNotSupportException(BaseException): |
| 19 |
pass |
| 20 |
|
| 21 |
|
| 22 |
class BuildErrorException(BaseException): |
| 23 |
pass |
| 24 |
|
| 25 |
|
| 26 |
class ReleaseErrorException(BaseException): |
| 27 |
pass |
| 28 |
|
| 29 |
|
| 30 |
class GithubContentNotFound(BaseException): |
| 31 |
pass |
| 32 |
|
| 33 |
|
| 34 |
class GithubIntegrationRequestError(BaseException): |
| 35 |
pass |
| 36 |
|
| 37 |
|
| 38 |
class GithubUnauthorizedError(BaseException): |
| 39 |
pass |