Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4 Add ability to reraise an error, maybe *errobj*?

open
nobody
None
5
2009-08-20
2009-08-20
Anonymous
No

The exception system, as designed, does not allow to re-raise an exception, as far as I can tell. This means that in case cleanup code is needed, the error message is lost. This is the best that can be done with the current code:

(catch (begin (do-some-cleanup) (throw "An error occurred but we don't know what"))
(do-some-processing))

Discussion