[plt-scheme] Catch all exceptions

From: Dmitriy.Zavin at infineon.com (Dmitriy.Zavin at infineon.com)
Date: Mon Aug 30 13:52:11 EDT 2004

Hi,

I was wondering, is there a catch-all type mechanism in mzscheme to
catch all exceptions?

I want something like
	(with-handlers ([any-exn? (lambda (exn)  (write "foo"))])
		(my-proc))

Is something like tha doable?

Thanks.

--Dima

Dmitriy Zavin
Infineon Technologies North America



Posted on the users mailing list.