On 2011.05.12 02:25 PM, MRAB wrote: > You can raise an exception wherever you like! :-) If I raise an exception that isn't a built-in exception, I get something like "NameError: name 'HelloError' is not defined". I don't know how to define the exception. -- 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