dominictarr / through

simple way to create a ReadableWritable stream that works
Other
670 stars 64 forks source link

Added ability to add error handler #38

Closed KodeAndGame closed 9 years ago

KodeAndGame commented 9 years ago

I'm not sure if anyone else has run into the issue I had but I had errors in my write function that were tough to track down because I didn't have a way to handle errors that occurred inside of through. This allows me to pass my own error handling callback.

KodeAndGame commented 9 years ago

Sorry! I didn't realize you could emit error. Not to mention I failed the checks.