[Ecls-list] Lisp errors & ERRNO
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Mon Mar 15 17:18:00 UTC 2010
On Mon, Mar 15, 2010 at 6:07 PM, Tobias C. Rittweiler <tcr at freebits.de>wrote:
> I'm talking about Lisp sugar on top of strerror for that and similiar
> cases.
>
I now see what you mean. I would use conditions that derive from
simple-error and include the errno and the message. We can provide a lisp
function, ext:strerror. Then FElibc_error() and other functions
(serve-event) can signal the error using cl_error, the name of the condition
and a list of arguments, like we already do for other conditions.
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/20100315/43c3f2df/attachment.html>
More information about the ecl-devel
mailing list