unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Daniel Skarda <0rfelyus@ucw.cz>
Cc: guile-user@gnu.org
Subject: Re: reporting 'system-error informatively
Date: 21 Oct 2002 01:02:20 +0200	[thread overview]
Message-ID: <m0elakiuir.fsf@hobitin.ucw.cz> (raw)
In-Reply-To: <87r8ekx03e.fsf@zagadka.ping.de>


Marius Vollmer <mvo@zagadka.ping.de> writes:
> prj@po.cwru.edu (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.


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


  reply	other threads:[~2002-10-20 23:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-19 21:18 reporting 'system-error informatively Paul Jarc
2002-10-20 21:38 ` Marius Vollmer
2002-10-20 23:02   ` Daniel Skarda [this message]
2002-10-21 14:46     ` Marius Vollmer
2002-10-21  6:13   ` Paul Jarc
2002-10-21 14:45     ` Marius Vollmer
2002-10-21 18:36       ` Paul Jarc
2002-10-21 18:55       ` Neil Jerram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m0elakiuir.fsf@hobitin.ucw.cz \
    --to=0rfelyus@ucw.cz \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).