mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Add a documentation note about exceptions
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
class GithubException(Exception):
|
||||
"""
|
||||
Error handling in PyGithub is done with exceptions. This class is the base of all exceptions raised by PyGithub.
|
||||
|
||||
Some other types of exceptions might be raised by underlying libraries, for example for network-related issues.
|
||||
"""
|
||||
|
||||
def __init__(self, status, data):
|
||||
|
||||
Reference in New Issue
Block a user