summaryrefslogtreecommitdiffstats
path: root/telepot/exception.py
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-07-19 10:58:03 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-07-19 10:58:03 +0300
commit0086f5016f1255a8d311ed5c6adfaf8f5c4fcf7e (patch)
tree69a61f133785e3c2758b66be358ce755aee8856d /telepot/exception.py
parent5a636abf7e98a5687811167917d0e07103599bc8 (diff)
Skip updates without expected keys
Diffstat (limited to 'telepot/exception.py')
-rw-r--r--telepot/exception.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/telepot/exception.py b/telepot/exception.py
index 820a522..04104c3 100644
--- a/telepot/exception.py
+++ b/telepot/exception.py
@@ -62,6 +62,9 @@ class IdleTerminate(WaitTooLong):
class StopListening(TelepotException):
pass
+class UpdateKeyError(TelepotException):
+ pass
+
class TelegramError(TelepotException):
"""
To indicate erroneous situations, Telegram returns a JSON object containing