From ca2c7d1745b3fa8d4ef89e657a888ce9b914b354 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 15 Nov 2009 01:06:13 +0100 Subject: [PATCH] Add doc for uncaughtException --- doc/api.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/api.txt b/doc/api.txt index 5b1888ce3c6..18a5eb350eb 100644 --- a/doc/api.txt +++ b/doc/api.txt @@ -85,9 +85,16 @@ more information. + The parameter +code+ is the integer exit code passed to +process.exit()+. -| +"SIGINT"+, +"SIGUSR1"+, ... | (none) | Emitted when the processes receives a signal. - See sigaction(2) for a list of standard POSIX - signal names such as SIGINT, SIGUSR1, etc. +| +"uncaughtException"+ | +exception+ | Emitted when an exception + bubbles all the way down to + the event loop. If a listener + is added for this exception, + the default action (which is + to print a stack trace and + exit) will not occur. +| +"SIGINT"+, +"SIGUSR1"+, ... | (none) | Emitted when the processes receives a signal. + See sigaction(2) for a list of standard POSIX + signal names such as SIGINT, SIGUSR1, etc. |========================================================= +process.ARGV+ ::