diff options
Diffstat (limited to 'doc/api.texi')
-rw-r--r-- | doc/api.texi | 11 |
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 |