[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: *error-handler*



Calvin Clark <ckclark@MIT.EDU> defines WITH-HANDLED-ERROR and asks:

> What are the potential caveats in using *error-handler* this way?

None. Your macro is perfectly fine, except that a call
  (fresh-line *error-output*)
before
  (apply #'format *error-output* args)
wouldn't hurt.

> Are there better ways in CLISP to deal with system errors in code?

Not yet.

> The variable *error-handler* is not documented in impnotes.txt.  Is it
> likely to be preserved in future versions of CLISP?

Yes. So many ports of packages depend on it.


                    Bruno Haible
                    haible@ma2s2.mathematik.uni-karlsruhe.de