I'm a bit new to programming outside of shell scripts (and I'm no expert there), so I was wondering what is considered the best way to handle errors when writing a module. Do I just let exceptions go and raise custom exceptions for errors that don't trigger a standard one? Have the function/method return nothing or a default value and show an error message? I'm sure there's not a clear-cut answer, but I was just wondering what most developers would expect a module to do in certain situations. -- 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