[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: hook after in/do/end
- From: Tony Finch <dot@...>
- Date: Tue, 12 Jan 2010 17:53:24 +0000
On Tue, 12 Jan 2010, steve donovan wrote:
> On Tue, Jan 12, 2010 at 7:30 PM, Romulo <romuloab@gmail.com> wrote:
> > What is the expected behavior when an error occurs inside the block?
> > The hook should be called or not?
>
> That is the really interesting question...in Tony's intended
> application, it really is necessary to have some guarantee that the
> hook will be called to restore the environment.
Hmm, yes, I thought I was straying very close to exception territory :-)
It clearly needs a bit more thought.
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.