Node.js has long had a reputation of being difficult to write error handling for, in large part because of it's async, evented-io model. Joyent has a very indepth article on error handling:
Node.js has long had a reputation of being difficult to write error handling for, in large part because of it's async, evented-io model. Joyent has a very indepth article on error handling: