Error handling with node.js streams
What’s the correct way to handle errors with streams? I already know there’s an ‘error’ event you can listen on, but I want to know some more details about arbitrarily complicated situations. For starters, what do you do when you want to do a simple pipe chain: input.pipe(transformA).pipe(transformB).pipe(transformC)… And how do you properly create one … Read more