saltext.github.utils.gh.exceptions

Exceptions raised by the GitHub API helper modules.

class saltext.github.utils.gh.exceptions.GitHubApiError(*args: Any, **kwargs: Any)[source]

The GitHub API returned an error response.

status

HTTP status code of the response, if available.

data

Decoded response body, if available.

class saltext.github.utils.gh.exceptions.GitHubNotFoundError(*args: Any, **kwargs: Any)[source]

A requested GitHub resource does not exist.