Help please with the question of how to catch errors that are not major. For example: I am writing a bot now, it has an error in its API, called: "discord.errors.HTTPException" I would like to know how to catch it, because when I tried to catch it with except, I did not succeed.
Closed due to the fact that off-topic participants Kromster , insolor , andreymal , gil9red , jfs Apr 13 '18 at 14:28 .
It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:
- “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - insolor, andreymal, jfs
- fourShow the code in which nothing happened - andreymal
|