[Ecls-list] Unicode: uncomfortable situation

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue Jan 25 21:44:26 UTC 2011


On Tue, Jan 25, 2011 at 10:37 PM, Matthew Mondor
<mm_lists at pulsar-zone.net>wrote:

> I can indeed see the error type symbol in the cl_[c]error() calls, that
> clears up things a lot, thanks!  The remaining unclear part to me is
> FEerror() which seems to invoke universal_error_handler() and from
> there I get lost as to how the condition object is created.
>

universal-error-handler is the function which is reponsible for creating and
signaling conditions. It is defined in src/clos/conditions.lsp with the
following signature

(defun sys::universal-error-handler (continue-string datum args)

As you see, it is basically a CERROR on steroids. The CONTINUE-STRING
argument allows for three ways of signalling error:
* T for CERROR with the usual restart IGNORE
* NIL for ERROR with no restarts and an opened debugger
* A string for a CERROR with a CONTINUE restart. The string is the message.
* A symbol for a named restart around a CERROR.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110125/ad87b88b/attachment.html>


More information about the ecl-devel mailing list