mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-30 03:09:21 +02:00
Keeps backwards compatibility to BadRequest #302
This commit is contained in:
parent
1e398821a0
commit
e70625772c
1 changed files with 2 additions and 2 deletions
|
@ -73,11 +73,11 @@ class InvalidToken(TelegramError):
|
|||
super(InvalidToken, self).__init__('Invalid token')
|
||||
|
||||
|
||||
class BadRequest(TelegramError):
|
||||
class NetworkError(TelegramError):
|
||||
pass
|
||||
|
||||
|
||||
class NetworkError(TelegramError):
|
||||
class BadRequest(TelegramError):
|
||||
pass
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue