Pass an error to the sys.pump callback if one occurs
authorRussell Haering <russellhaering@gmail.com>
Mon, 23 Aug 2010 20:12:57 +0000 (13:12 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Mon, 30 Aug 2010 17:23:48 +0000 (10:23 -0700)
commit37b6e106847b32bf0baf64825f5783498c3dfe10
treea71578390a96538558e43e1d6304114405ceeb38
parent57642e23497d5698aa4c5b8a44edff7b265c2283
Pass an error to the sys.pump callback if one occurs

- Add test case for pumping from unreadable stream.
- Document the sys.pump error handling behavior
doc/api.markdown
lib/sys.js
test/simple/test-pump-file2tcp-noexist.js [new file with mode: 0644]