[racket] with-handlers and exception structure

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Sep 3 08:27:16 EDT 2012

At Mon, 03 Sep 2012 01:38:29 -0700, Gregory Woodhouse wrote:
> Dumb question: If an exception is handled by (lambda (e) ... ) is it possible 
> to recover exception details such as any message that may have been used in a 
> raise or related statement?

The `e' is normally an `exn' structure, so you can use `exn-message' to
extract the message string. Is that what you mean?



Posted on the users mailing list.