diff options
author | micnic <micnic90@gmail.com> | 2015-10-15 00:10:25 +0300 |
---|---|---|
committer | Roman Reiss <me@silverwind.io> | 2015-11-09 20:08:36 +0100 |
commit | 20285ad17755187ece16b8a5effeaa87f5407da2 (patch) | |
tree | fd383b337137f2ab9f1fe51042d29b076f687387 /lib/_stream_writable.js | |
parent | af46112828cb28223050597f06b5e45a659e99d6 (diff) | |
download | android-node-v8-20285ad17755187ece16b8a5effeaa87f5407da2.tar.gz android-node-v8-20285ad17755187ece16b8a5effeaa87f5407da2.tar.bz2 android-node-v8-20285ad17755187ece16b8a5effeaa87f5407da2.zip |
lib: Consistent error messages in all modules
This commit fixes some error messages that are not consistent with
some general rules which most of the error messages follow.
PR-URL: https://github.com/nodejs/node/pull/3374
Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'lib/_stream_writable.js')
-rw-r--r-- | lib/_stream_writable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_stream_writable.js b/lib/_stream_writable.js index 9c7e263016..73f4d9fb3e 100644 --- a/lib/_stream_writable.js +++ b/lib/_stream_writable.js @@ -151,7 +151,7 @@ function Writable(options) { // Otherwise people can pipe Writable streams, which is just wrong. Writable.prototype.pipe = function() { - this.emit('error', new Error('Cannot pipe. Not readable.')); + this.emit('error', new Error('Cannot pipe, not readable')); }; |