Closes GH-85 Emit error rather than throwing.
authorisaacs <i@izs.me>
Wed, 16 Feb 2011 05:34:30 +0000 (21:34 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 3 Mar 2011 06:09:39 +0000 (22:09 -0800)
commit11a06fe1e4c5f499fa2ce64acf2f5fe93c29ec5f
tree09f6f2594baa4135e5833b7cb5e3810adbc97409
parent1d5ff15a46102bb7f0611a42a028903f615acab0
Closes GH-85 Emit error rather than throwing.

Since "error" events will throw when unhandled anyhow, it makes no sense
to throw from an EventEmitter's method, especially for such a minor
misdemeanor as attempting to write to a non-writable stream.
lib/fs.js
lib/tty_win32.js