in reply to Re: Managing errors in subroutines
in thread Managing errors in subroutines

You might also find Best Practices for Exception Handling of interest.