From dff094650011398fd8f0a57bf2668a066fb2cbcb Mon Sep 17 00:00:00 2001 From: Vincent Jacques Date: Fri, 29 Mar 2013 13:16:57 +0100 Subject: [PATCH] Add a documentation note about exceptions --- github/GithubException.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github/GithubException.py b/github/GithubException.py index b8e222df..aaf7b2eb 100644 --- a/github/GithubException.py +++ b/github/GithubException.py @@ -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):