Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers
elance-zoho-creator-exam.pdf

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

function( req, res){ ... res.error( err ); }
function( req, res ){ ... console.error( err ) }
function( req, res, next){ ... next( err ); }
function( req, res ){ ... throw err; }
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon