Share

TinyScheme

Tracker: Feature Requests

5 Add ability to reraise an error, maybe *errobj*? - ID: 2841244
Last Update: Tracker Item Submitted ( nobody )

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))


Nobody/Anonymous ( nobody ) - 2009-08-20 17:08

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.