Enhance the error handling mechanism to use embedded causal chains of VErrors (see this excellent Joyent blog post on Error Handling in Node.js) and the corresponding https://github.com/joyent/node-verror library.
Also, consider using the Boom package for HTTP error handling (though size is a concern - check to see how much weight these libs will add to the Webpack'd bundle).
Enhance the error handling mechanism to use embedded causal chains of
VErrors(see this excellent Joyent blog post on Error Handling in Node.js) and the corresponding https://github.com/joyent/node-verror library.Also, consider using the Boom package for HTTP error handling (though size is a concern - check to see how much weight these libs will add to the Webpack'd bundle).