Monday, 2 July 2018

Something I just figured out from express-generator!

If you use express-generator to create your structure for a node application, it comes with a default structure for handling errors.This is great, except how am I supposed to know what methods exist?Turns out, it's the http-errors which creates an err object which has different methods. It's explained on the website

Submitted July 03, 2018 at 12:13AM by Stromz

No comments:

Post a Comment