What are the exit codes in node.js?



What are the exit codes in node.js?..

Answer / Divya Saurabh

The exit codes in Node.js are 0 (SUCCESS), 1 (ERROR), and any other positive integer which can be defined by the user to represent specific errors or exceptions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Node.js Interview Questions

How is node js used in web development?

1 Answers  


What is the recommended folder structure for MEAN app development?

1 Answers  


How does nodejs single threaded work?

1 Answers  


What is the use of underscore variable in repl?

1 Answers  


What does node.js tty module contains?

1 Answers  


What is g in npm install?

1 Answers  


Explain what is libuv in node js?

1 Answers  


What is http createserver?

1 Answers  


What is the difference between node and nodejs?

1 Answers  


Is node js asynchronous by default?

1 Answers  


Is nodejs a language?

1 Answers  


What is the preferred method of resolving unhandled exceptions in node.js?

1 Answers  


Categories