Added description of the ApiTelegramException as attribute of the class#1338
Added description of the ApiTelegramException as attribute of the class#1338Badiboy merged 1 commit intoeternnoir:masterfrom barbax7:exceptions
Conversation
|
It's better to use: It's always better to use specific exceptions the .venv in .gitignore is just for those people like me who create a virtual environment named ".vemv" |
They are exactly same thing. No need to add it I think |
|
No, e is an object, it isn't a string and, ApiTelegramException already exists, i use it in my codes. I just added an attribute to be more accessible. I haven't created the whole exception python won't work properly without exceptions different to the general Exception |
|
Ok, new feature won't be bad 😃 |
|
Thank you. |

The class ApiTelegramException now has the attribute "description", returned in the response_json. In this way, the error's description is more accessible.