ExamVeda
Login
Home
Server Side and Client Side Scripting
?

When do uncaught exceptions generate events?

Answer & Solution
Correct Answer: Option A
Uncaught exceptions generate events, if any handlers are registered. Otherwise, the exception just makes Node print an error and exit.
process.on("uncaughtException", function(e) { console.log(Exception, e); });
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.