new: add FileIsTooBig exception

This commit is contained in:
uburuntu 2020-09-19 23:49:37 +03:00
parent 7b33e5c68a
commit d6d0a3ed56

View file

@ -38,6 +38,7 @@
- URLHostIsEmpty
- StartParamInvalid
- ButtonDataInvalid
- FileIsTooBig
- WrongFileIdentifier
- GroupDeactivated
- BadWebhook
@ -347,6 +348,10 @@ class ButtonDataInvalid(BadRequest):
text = 'Button data invalid'
class FileIsTooBig(BadRequest):
match = 'File is too big'
class WrongFileIdentifier(BadRequest):
match = 'wrong file identifier/HTTP URL specified'