aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygithub3/exceptions.py')
-rw-r--r--pygithub3/exceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pygithub3/exceptions.py b/pygithub3/exceptions.py
index 65881bb..c44c371 100644
--- a/pygithub3/exceptions.py
+++ b/pygithub3/exceptions.py
@@ -2,6 +2,12 @@
# -*- encoding: utf-8 -*-
+class InvalidBodySchema(Exception):
+ """ Raised when the 'valids_body' attribute of Resource isn't in a
+ valid form (required.issubsetof(schema))"""
+ pass
+
+
class DoesNotExists(Exception):
""" Raised when `Request` factory can't find the subclass """
pass