aboutsummaryrefslogtreecommitdiffstats
path: root/github3/exceptions.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2011-11-09 00:35:13 +0100
committerDavid Medina <davidmedina9@gmail.com>2011-11-09 00:35:13 +0100
commited34830ab64837d16b2943887045a44f0760ee8e (patch)
treef91c1bebb8b11cccc5bab07dfb54ea5031923888 /github3/exceptions.py
parentFix/update typo. avatar_url in User (diff)
downloadpython-github3-ed34830ab64837d16b2943887045a44f0760ee8e.tar.xz
python-github3-ed34830ab64837d16b2943887045a44f0760ee8e.zip
New design. Merge develop branch
Diffstat (limited to 'github3/exceptions.py')
-rw-r--r--github3/exceptions.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/github3/exceptions.py b/github3/exceptions.py
new file mode 100644
index 0000000..b0894a9
--- /dev/null
+++ b/github3/exceptions.py
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+# -*- encoding: utf-8 -*-
+#
+# author: David Medina
+
+class BadRequest(Exception):
+ pass
+class UnprocessableEntity(Exception):
+ pass
+class NotFound(Exception):
+ pass
+class AnomUser(Exception):
+ """ Exception for AnomUser handler """
+ pass