[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reporting 'system-error informatively
From: |
Daniel Skarda |
Subject: |
Re: reporting 'system-error informatively |
Date: |
21 Oct 2002 01:02:20 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Marius Vollmer <address@hidden> writes:
> address@hidden (Paul Jarc) writes:
> > If I catch 'system-error and display an error message, I'd like to
> > include the arguments of the procedure that failed along with the
> > procedure name and errno string. Is there a way to get the arguments
> > programmatically, other than by parsing the output of (backtrace)?
>
> The arguments are passed among the arguments received by the handler.
> You can do something like
[call-with-error-catching code]
> which is probably way too complicated. This is a weak spot of Guile,
> I'm afraid.
I noticed that there is similar code in module (ice-9 stack-catch). What is
the difference between your code and stack-catch module?
0.