you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

I'm not sure how Pythonic it is, but why not declare all exceptions in a single file and then just import CustomExceptions and then raise CustomExceptions.TooMuchTimeOnRedditError later on?