Understanding Exceptions and Domains in Node.js
Exceptions in Node.js and their effect If you have developed applications using node.js then you must have encountered the problem of application getting crashed whenever an error occurs. User.find({'username':'Suroor Wijdan'}, function(err, user){ if(err) throw err; console.log(user); }); The above code once run if throws an error then this will lead to the...