MCQs > IT & Programming > Node.js > If an error occures in an Express middleware function, what is the best way to pass the error object to the subsequent handlers?

Node.js MCQs

If an error occures in an Express middleware function, what is the best way to pass the error object to the subsequent handlers?

Answer

Correct Answer: function( req, res, next){ ... next( err ); }

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it