summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-10-08 09:24:43 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-10-08 09:24:43 -0400
commitf782e70390525fa2e5bfdf8e2ff249ece1640a98 (patch)
treef32636a96e590ec98d52d72c7e86ecc70ab18c45 /doc
parent1578a7025c3c70cbbdb110aa42125c9acb57aeda (diff)
Update error handling to use Guile's new exception API.
Diffstat (limited to 'doc')
-rw-r--r--doc/api.texi11
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/api.texi b/doc/api.texi
index bebef33..9ed9eff 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -290,22 +290,19 @@ values are:
@end enumerate
@item
-@var{error}: Called with three arguments when an error occurs:
+@var{error}: Called with two arguments when an error occurs:
@enumerate
@item
-@var{stack}: The call stack at the point of error.
+@var{exception}: The exception object.
@item
-@var{key}: The exception key.
-
-@item
-@var{args}: The arguments thrown with the exception.
+@var{stack}: The call stack at the point of the exception.
@end enumerate
-The default behavior is to re-throw the error.
+If no error handler is specified, exceptions will simply be re-raised.
@end itemize