June 2025
Intermediate to advanced
837 pages
24h 50m
English
Signals are means by which you can communicate with an application. Exit codes, on the other hand, work in exactly the opposite direction. In a way, an exit code is the return value of an application. On a Unix system, the echo $? command enables you to read the exit code of the last command on the command line. Usually, a Node.js application exits with exit code 0. This means that the application was terminated without any problem. An exit code with a value greater than 0 indicates an error.
|
Code |
Name |
Description |
|---|---|---|
|
1 |
Uncaught Fatal Exception |
An exception occurred that wasn’t caught and caused the application to terminate. |
|
3 |
Internal JavaScript Parse Error |
The source code of Node.js itself caused a ... |
Read now
Unlock full access