[plt-scheme] Catch all exceptions

From: Robby Findler (robby at cs.uchicago.edu)
Date: Mon Aug 30 15:07:06 EDT 2004

On Aug 30, 2004, at 1:01 PM, Jens Axel Søgaard wrote:

>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> Eli Barzilay wrote:
>
>> A common idiom is to use `void' instead -- it is a function that
>> always returns the void value, which is not #f so it is true.
>>
> Or not-break-exn? .

not-break-exn? is probably better, since you typically don't want to 
catch break exceptions (or, you want to only catch break exceptions). 
In upcoming releases, you'd probably want to use exn:fail?

Robby



Posted on the users mailing list.