[plt-scheme] Preferred exception structure to inherit: exn or exn:fail?

From: Noel Welsh (noelwelsh at gmail.com)
Date: Mon Jun 9 11:07:46 EDT 2008

Our current practice is to extend exn:fail but old code may still
extend exn directly -- because we haven't updated it due to oversight
or laziness.  I imagine it's the same situation in HtDP code.

N.

On Fri, Jun 6, 2008 at 8:10 PM, Danny Yoo <dyoo at cs.wpi.edu> wrote:
> I've always assumed that new exception structures should try to extend the
> exn:fail structure, but every so often, I see error structures that extend
> the base 'exn' type.
...
>
> and was a little surprised to see otherwise.  Is there a reason for
> preferring one vs the other?


Posted on the users mailing list.