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
commit 099d638a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -25,6 +25,7 @@ var/
.idea/
venv/
.venv/
# PyInstaller
# Usually these files are written by a python script from a template

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']