[DGD]Question on catch { } : { }
E. Harte
harte at xs4all.nl
Mon Mar 13 15:41:46 CET 2000
On Sun, 12 Mar 2000, Kris Van Hees wrote:
> Hi all,
[...]
> In the catch block it does not seem to be possible to obtain the error
> message that was raised in the compound block in which errors are being caught.
> That could be an issue for people (like this wizard apparantly) who wants to do
> some exception-handling style programming.
>
> Any thoughts?
Sure, store the last error message either in thread-data or somewhere in a
central object when runtime_error() is called and write an efun to query
this message from whichever storage place you pick? The worst that could
happen is that you use the efun and get a result that is from a previous
thread.
Erwin.
--
Erwin Harte - Forever September, 2386 and counting - harte at xs4all.nl
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list