Roy Smith:
>I like to create a top-level exception class to encompass all the 
>possible errors in a given module, then subclass that.  This way, if you 
>want to catch anything to goes wrong in a call, you can catch the top-level 
>exception class without having to enumerate them all.

What do you propose to do with exceptions from modules called by the given
module?

-- 
René Pijlman
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to