diff options
author | 2012-02-11 17:55:06 +0100 | |
---|---|---|
committer | 2012-02-11 17:55:06 +0100 | |
commit | 38e86799291b8e446aa7634f87b67feee7427b00 (patch) | |
tree | f32d636ceba3a5c3593a39985151cb17bf184f28 /pygithub3/exceptions.py | |
parent | Wip on services.users (diff) | |
download | python-github3-38e86799291b8e446aa7634f87b67feee7427b00.tar.xz python-github3-38e86799291b8e446aa7634f87b67feee7427b00.zip |
Change requests.Body to suppor required attributes
Diffstat (limited to 'pygithub3/exceptions.py')
-rw-r--r-- | pygithub3/exceptions.py | 6 |
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 |