Questions

  1. What is the difference between an error handler and logging?
  2. How do you add different kinds of error handlers to your Express.js application?
  3. Is there any difference between adding an error handler definition at the beginning of an app and adding it at the end?
  4. What kind of information should be logged?
  5. Is there a way to add a generic logging strategy to an application?
  6. What should you do if you want to grab an error message but still pass it through an error handler?
  7. What does next() do on error handler functions?
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.177.85