[Top][All Lists]

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

[Gcl-devel] SI::universal-error-handler

From: Jared Davis
Subject: [Gcl-devel] SI::universal-error-handler
Date: Thu, 05 Jan 2006 18:12:49 -0600
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)


I was hoping to experiment with using a custom universal error handler. However, I can't seem to set up even the most simple of error handlers.

I tried just redefining the universal-error-handler function as follows:

(defun SI::universal-error-handler (error-name correctable function-name
                                               error-format-string &rest args)
  (format t "Something bad happened."))

Then, to cause an error, I tried just writing (+ 3 nil). But this seems to cause a loop, and I see the following output:

  Something bad happened.Something bad happened.Something bad happened.

And so on forever. I'm sure I'm doing something silly, but I'm not sure how to fix it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]