All Questions
1 question
12
votes
1
answer
4k
views
When should I subclass an exception in Python?
In my code there are about seven places where I raise an exception. All of these exceptions are treated the same: print an error to log file, return software state to default and exit.
During code ...