Re: catch replacing useful errorInfo
- From: Donald G Porter <dgp@xxxxxxxx>
- Date: Fri, 31 Aug 2007 10:04:46 -0400
Donald G Porter <d...@xxxxxxxx> wrote:
Let's look at the corrected example again: ...
tom.rmadilo wrote:
I can't see how this differs from what I said...
OK, violent agreement then. :)
....
Maybe it is easier to say it this way: if you catch an error, throw an
error. Maybe not 100% applicable, but all the examples on this thread
do exactly that. If you don't want to throw an error, figure out how
to avoid the need to catch one.
I can agree on all that as good general advice.
DGP
.
- Follow-Ups:
- Re: catch replacing useful errorInfo
- From: tom.rmadilo
- Re: catch replacing useful errorInfo
- References:
- catch replacing useful errorInfo
- From: TronyQ
- Re: catch replacing useful errorInfo
- From: tom.rmadilo
- Re: catch replacing useful errorInfo
- From: Donald G Porter
- Re: catch replacing useful errorInfo
- From: tom.rmadilo
- Re: catch replacing useful errorInfo
- From: Donald G Porter
- Re: catch replacing useful errorInfo
- From: tom.rmadilo
- catch replacing useful errorInfo
- Prev by Date: getting user names with twapi
- Next by Date: Re: TCL editor recommendation
- Previous by thread: Re: catch replacing useful errorInfo
- Next by thread: Re: catch replacing useful errorInfo
- Index(es):