Module aiogithubapi.common.exceptions

AIOGitHubAPI: Exceptions

Expand source code
"""AIOGitHubAPI: Exceptions"""
from ..exceptions import (
    GitHubAuthenticationException,
    GitHubException,
    GitHubNotModifiedException,
    GitHubRatelimitException,
)


class AIOGitHubAPIException(GitHubException):
    """
    Raise this when something is off.

    Deprecated: use `aiogithubapi.exceptions.GitHubException` instead
    """


class AIOGitHubAPIRatelimitException(GitHubRatelimitException, AIOGitHubAPIException):
    """
    Raise this when we hit the ratelimit.

    Deprecated: use `aiogithubapi.exceptions.GitHubRatelimitException` instead
    """


class AIOGitHubAPINotModifiedException(GitHubNotModifiedException, AIOGitHubAPIException):
    """
    Raise this when we the content was not modified.

    Deprecated: use `aiogithubapi.exceptions.GitHubNotModifiedException` instead
    """


class AIOGitHubAPIAuthenticationException(GitHubAuthenticationException, AIOGitHubAPIException):
    """
    Raise this when there is an authentication issue.

    Deprecated: use `aiogithubapi.exceptions.GitHubAuthenticationException` instead
    """

Classes

class AIOGitHubAPIAuthenticationException (*args, **kwargs)

Raise this when there is an authentication issue.

Deprecated: use GitHubAuthenticationException instead

Expand source code
class AIOGitHubAPIAuthenticationException(GitHubAuthenticationException, AIOGitHubAPIException):
    """
    Raise this when there is an authentication issue.

    Deprecated: use `aiogithubapi.exceptions.GitHubAuthenticationException` instead
    """

Ancestors

class AIOGitHubAPIException (*args, **kwargs)

Raise this when something is off.

Deprecated: use GitHubException instead

Expand source code
class AIOGitHubAPIException(GitHubException):
    """
    Raise this when something is off.

    Deprecated: use `aiogithubapi.exceptions.GitHubException` instead
    """

Ancestors

Subclasses

class AIOGitHubAPINotModifiedException (*args, **kwargs)

Raise this when we the content was not modified.

Deprecated: use GitHubNotModifiedException instead

Expand source code
class AIOGitHubAPINotModifiedException(GitHubNotModifiedException, AIOGitHubAPIException):
    """
    Raise this when we the content was not modified.

    Deprecated: use `aiogithubapi.exceptions.GitHubNotModifiedException` instead
    """

Ancestors

class AIOGitHubAPIRatelimitException (*args, **kwargs)

Raise this when we hit the ratelimit.

Deprecated: use GitHubRatelimitException instead

Expand source code
class AIOGitHubAPIRatelimitException(GitHubRatelimitException, AIOGitHubAPIException):
    """
    Raise this when we hit the ratelimit.

    Deprecated: use `aiogithubapi.exceptions.GitHubRatelimitException` instead
    """

Ancestors