not inherit from BaseException is not allowed"
And I searched it 👇👇
https://stackoverflow.com/questions/53148112/python-3-handling-error-typeerror-catching-classes-that-do-not-inherit-from-bas
But I'm getting this error again😶
And what should I do?
What you exactly expected? You're trying to catch a None exception?
I want to catch " expression" and log it to a file
You can catch exceptions not expressions
Обсуждают сегодня