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:
commit
099d638a7e
1
.gitignore
vendored
1
.gitignore
vendored
@ -25,6 +25,7 @@ var/
|
||||
|
||||
.idea/
|
||||
venv/
|
||||
.venv/
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
|
@ -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']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user