We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbf5ec1 commit dfe78b7Copy full SHA for dfe78b7
src/ghastoolkit/octokit/octokit.py
@@ -21,7 +21,11 @@
21
__OCTOKIT_PATH__ = os.path.dirname(os.path.realpath(__file__))
22
23
__OCTOKIT_ERRORS__ = {
24
- 401: GHASToolkitAuthenticationError("Authentication / Permission Issue")
+ 401: GHASToolkitAuthenticationError("Authentication / Permission Issue"),
25
+ 403: GHASToolkitAuthenticationError("Authentication / Permission Issue"),
26
+ 404: GHASToolkitError("Not Found"),
27
+ 429: GHASToolkitError("Rate limit hit"),
28
+ 500: GHASToolkitError("GitHub Server Error"),
29
}
30
31
0 commit comments