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
GitHubAuthenticationExceptioninsteadExpand source code
class AIOGitHubAPIAuthenticationException(GitHubAuthenticationException, AIOGitHubAPIException): """ Raise this when there is an authentication issue. Deprecated: use `aiogithubapi.exceptions.GitHubAuthenticationException` instead """Ancestors
- GitHubAuthenticationException
- AIOGitHubAPIException
- GitHubException
- builtins.BaseException
class AIOGitHubAPIException (*args, **kwargs)-
Raise this when something is off.
Deprecated: use
GitHubExceptioninsteadExpand source code
class AIOGitHubAPIException(GitHubException): """ Raise this when something is off. Deprecated: use `aiogithubapi.exceptions.GitHubException` instead """Ancestors
- GitHubException
- builtins.BaseException
Subclasses
class AIOGitHubAPINotModifiedException (*args, **kwargs)-
Raise this when we the content was not modified.
Deprecated: use
GitHubNotModifiedExceptioninsteadExpand source code
class AIOGitHubAPINotModifiedException(GitHubNotModifiedException, AIOGitHubAPIException): """ Raise this when we the content was not modified. Deprecated: use `aiogithubapi.exceptions.GitHubNotModifiedException` instead """Ancestors
- GitHubNotModifiedException
- AIOGitHubAPIException
- GitHubException
- builtins.BaseException
class AIOGitHubAPIRatelimitException (*args, **kwargs)-
Raise this when we hit the ratelimit.
Deprecated: use
GitHubRatelimitExceptioninsteadExpand source code
class AIOGitHubAPIRatelimitException(GitHubRatelimitException, AIOGitHubAPIException): """ Raise this when we hit the ratelimit. Deprecated: use `aiogithubapi.exceptions.GitHubRatelimitException` instead """Ancestors
- GitHubRatelimitException
- AIOGitHubAPIException
- GitHubException
- builtins.BaseException