File: exceptions.py

package info (click to toggle)
azure-functions-devops-build 0.0.22-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 556 kB
  • sloc: python: 2,422; sh: 12; makefile: 8
file content (39 lines) | stat: -rw-r--r-- 902 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

class BaseException(Exception):
    def __init__(self, message=None):
        self.message = message

class GitOperationException(BaseException):
    pass


class RoleAssignmentException(BaseException):
    pass


class LanguageNotSupportException(BaseException):
    pass


class BuildErrorException(BaseException):
    pass


class ReleaseErrorException(BaseException):
    pass


class GithubContentNotFound(BaseException):
    pass


class GithubIntegrationRequestError(BaseException):
    pass


class GithubUnauthorizedError(BaseException):
    pass