<div class="gmail_quote">On Mon, Mar 15, 2010 at 6:07 PM, Tobias C. Rittweiler <span dir="ltr"><<a href="mailto:tcr@freebits.de">tcr@freebits.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I'm talking about Lisp sugar on top of strerror for that and similiar<br>
cases.<br clear="all"></blockquote></div><br>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.<br>
<br>Juanjo<br><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>