summaryrefslogtreecommitdiff
path: root/doc/ref/scheme-control.texi
diff options
context:
space:
mode:
authorNeil Jerram <neil@ossau.uklinux.net>2002-04-20 15:52:13 +0000
committerNeil Jerram <neil@ossau.uklinux.net>2002-04-20 15:52:13 +0000
commitf2ba76aea59136a8d1ca15456c8c96545ae468da (patch)
treee26774c82751285fde67a39b87138d00ccaf7e32 /doc/ref/scheme-control.texi
parent1982a56a975e0cc3a8c5e93ced9e7fa4ffc757d8 (diff)
downloadguile-f2ba76aea59136a8d1ca15456c8c96545ae468da.tar.gz
* Manual work on debugging infrastructure
Diffstat (limited to 'doc/ref/scheme-control.texi')
-rw-r--r--doc/ref/scheme-control.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/ref/scheme-control.texi b/doc/ref/scheme-control.texi
index e8d70e449..184ccae9d 100644
--- a/doc/ref/scheme-control.texi
+++ b/doc/ref/scheme-control.texi
@@ -878,6 +878,17 @@ Throw an error using the key @code{'misc-error}. The error
message is created by displaying @var{msg} and writing the @var{args}.
@end deffn
+@deffn {Scheme Procedure} display-error stack port subr message args rest
+@deffnx {C Function} scm_display_error (stack, port, subr, message, args, rest)
+Display an error message to the output port @var{port}.
+@var{stack} is the saved stack for the error, @var{subr} is
+the name of the procedure in which the error occurred and
+@var{message} is the actual error message, which may contain
+formatting instructions. These will format the arguments in
+the list @var{args} accordingly. @var{rest} is currently
+ignored.
+@end deffn
+
The following are the error keys defined by libguile and the situations
in which they are used: