[plt-scheme] raising / handling errors

From: Danny Yoo (dyoo at hkn.eecs.berkeley.edu)
Date: Mon Feb 27 20:03:31 EST 2006


> > I know(?) how to use with-handlers to catch exististing exceptions,
> > and in fact, I do this (now) in my read/eval/print loop. But it is not
> > all clear (to me) how to go about raising exceptions and handling
> > them. I am aware of raise and error, but I'd like to be able to raise
> > an exception which will be caught by a handler I install.

Hi Greg,

I've just added some of that material to the end of:

    http://schemecookbook.org/Cookbook/GettingStartedExceptions

I hope this helps!



Posted on the users mailing list.