On 2011.05.12 03:20 PM, Corey Richardson wrote: > class HelloError(Exception): > pass > > Of course, there are all sorts of other things you could do with your > exception. > > http://docs.python.org/tutorial/errors.html#user-defined-exceptions So that's where that info is. I wasn't looking in the tutorial section. Thanks! -- http://mail.python.org/mailman/listinfo/python-list
- Proper way to handle errors in a module Andrew Berg
- Re: Proper way to handle errors in a module Patty
- Re: Proper way to handle errors in a module Andrew Berg
- RE: Proper way to handle errors in a module Prasad, Ramit
- Re: Proper way to handle errors in a module MRAB
- Re: Proper way to handle errors in a module Roy Smith
- Re: Proper way to handle errors in a module Andrew Berg
- Re: Proper way to handle errors in a module MRAB
- Re: Proper way to handle errors in a mod... Andrew Berg
- Re: Proper way to handle errors in ... Corey Richardson
- Re: Proper way to handle errors... Andrew Berg
- Re: Proper way to handle errors... Ben Finney
- Re: Proper way to handle errors in ... Tycho Andersen
- Re: Proper way to handle errors in ... MRAB
- Re: Proper way to handle errors in ... Ethan Furman
- Re: Proper way to handle errors in ... Steven D'Aprano