1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge pull request #1338 from barbax7/exceptions

Added description of the ApiTelegramException as attribute of the class
This commit is contained in:
Badiboy
2021-10-17 11:29:44 +03:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@ -1661,4 +1661,5 @@ class ApiTelegramException(ApiException):
result)
self.result_json = result_json
self.error_code = result_json['error_code']
self.description = result_json['description']