Skip to content

exceptions

Class info

Classes

Name Children Inherits
AuthenticationError
githarbor.exceptions
Raised when authentication fails.
    FeatureNotSupportedError
    githarbor.exceptions
    Raised when a feature is not supported by the implementation.
      GitHarborError
      githarbor.exceptions
      Base exception for GitHarbor.
      OperationNotAllowedError
      githarbor.exceptions
      Raised when an operation is not allowed.
        OwnerNotFoundError
        githarbor.exceptions
        Raised when an owner cannot be found.
          ProviderNotConfiguredError
          githarbor.exceptions
          Raised when provider is not properly configured (missing token etc).
            RateLimitError
            githarbor.exceptions
            Raised when API rate limit is exceeded.
              RepositoryNotFoundError
              githarbor.exceptions
              Raised when a repository cannot be found.
                ResourceNotFoundError
                githarbor.exceptions
                Raised when a requested resource is not found.

                  🛈 DocStrings

                  AuthenticationError

                  Bases: GitHarborError

                  Raised when authentication fails.

                  Source code in src/githarbor/exceptions.py
                  class AuthenticationError(GitHarborError):
                      """Raised when authentication fails."""
                  

                  FeatureNotSupportedError

                  Bases: GitHarborError

                  Raised when a feature is not supported by the implementation.

                  Source code in src/githarbor/exceptions.py
                  class FeatureNotSupportedError(GitHarborError):
                      """Raised when a feature is not supported by the implementation."""
                  

                  GitHarborError

                  Bases: Exception

                  Base exception for GitHarbor.

                  Source code in src/githarbor/exceptions.py
                  class GitHarborError(Exception):
                      """Base exception for GitHarbor."""
                  

                  OperationNotAllowedError

                  Bases: GitHarborError

                  Raised when an operation is not allowed.

                  Source code in src/githarbor/exceptions.py
                  class OperationNotAllowedError(GitHarborError):
                      """Raised when an operation is not allowed."""
                  

                  OwnerNotFoundError

                  Bases: GitHarborError

                  Raised when an owner cannot be found.

                  Source code in src/githarbor/exceptions.py
                  class OwnerNotFoundError(GitHarborError):
                      """Raised when an owner cannot be found."""
                  

                  ProviderNotConfiguredError

                  Bases: GitHarborError

                  Raised when provider is not properly configured (missing token etc).

                  Source code in src/githarbor/exceptions.py
                  class ProviderNotConfiguredError(GitHarborError):
                      """Raised when provider is not properly configured (missing token etc)."""
                  

                  RateLimitError

                  Bases: GitHarborError

                  Raised when API rate limit is exceeded.

                  Source code in src/githarbor/exceptions.py
                  class RateLimitError(GitHarborError):
                      """Raised when API rate limit is exceeded."""
                  

                  RepositoryNotFoundError

                  Bases: GitHarborError

                  Raised when a repository cannot be found.

                  Source code in src/githarbor/exceptions.py
                  class RepositoryNotFoundError(GitHarborError):
                      """Raised when a repository cannot be found."""
                  

                  ResourceNotFoundError

                  Bases: GitHarborError

                  Raised when a requested resource is not found.

                  Source code in src/githarbor/exceptions.py
                  class ResourceNotFoundError(GitHarborError):
                      """Raised when a requested resource is not found."""