Add doc for uncaughtException
This commit is contained in:
parent
2b252acea4
commit
ca2c7d1745
13
doc/api.txt
13
doc/api.txt
@ -85,9 +85,16 @@ more information.
|
|||||||
+
|
+
|
||||||
The parameter +code+ is the integer exit code
|
The parameter +code+ is the integer exit code
|
||||||
passed to +process.exit()+.
|
passed to +process.exit()+.
|
||||||
| +"SIGINT"+, +"SIGUSR1"+, ... | (none) | Emitted when the processes receives a signal.
|
| +"uncaughtException"+ | +exception+ | Emitted when an exception
|
||||||
See sigaction(2) for a list of standard POSIX
|
bubbles all the way down to
|
||||||
signal names such as SIGINT, SIGUSR1, etc.
|
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+ ::
|
+process.ARGV+ ::
|
||||||
|
Loading…
x
Reference in New Issue
Block a user