Add PhotoAsInputFileRequired exception. // Photo should be uploaded as an InputFile

This commit is contained in:
Alex Root Junior 2018-04-08 17:31:58 +03:00
parent b808c48789
commit f0de1c5761
2 changed files with 6 additions and 0 deletions

View file

@ -130,6 +130,10 @@ class GroupDeactivated(BadRequest, _MatchErrorMixin):
match = 'group is deactivated'
class PhotoAsInputFileRequired(BadRequest, _MatchErrorMixin):
match = 'Photo should be uploaded as an InputFile'
class BadWebhook(BadRequest):
pass