Browse Source

Add doc for uncaughtException

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
ca2c7d1745
  1. 7
      doc/api.txt

7
doc/api.txt

@ -85,6 +85,13 @@ 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()+.
| +"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. | +"SIGINT"+, +"SIGUSR1"+, ... | (none) | Emitted when the processes receives a signal.
See sigaction(2) for a list of standard POSIX See sigaction(2) for a list of standard POSIX
signal names such as SIGINT, SIGUSR1, etc. signal names such as SIGINT, SIGUSR1, etc.

Loading…
Cancel
Save