diff --git a/reference/errorfunc/functions/set-exception-handler.xml b/reference/errorfunc/functions/set-exception-handler.xml index 6193484fa9..0ca8a3a510 100644 --- a/reference/errorfunc/functions/set-exception-handler.xml +++ b/reference/errorfunc/functions/set-exception-handler.xml @@ -1,5 +1,5 @@ - + set_exception_handler @@ -20,22 +20,8 @@ The exception_handler must be defined before calling - set_exception_handler. This function needs to accept + set_exception_handler. This handler function needs to accept one parameter, which will be the exception object that was thrown. - - exception_handler - objectexception - - - - exception - - - Name of function to be called when an uncaught exception occurs. - - - - @@ -46,7 +32,7 @@ exception_handler - Name of function to be called when an uncaught exception occurs. + Name of the function to be called when an uncaught exception occurs. @@ -56,7 +42,7 @@ &reftitle.returnvalues; - Returns the previously defined exception handler, or &false; on error. If + Returns the name of the previously defined exception handler, or &false; on error. If no previous handler was defined, an empty string is returned.