code: function(data, encoding, callback) {
      if (this.error) {
        if (callback) {
          callback(error);
        }
        throw error;
      } else {
        return this.stream.write(data, encoding, callback);
      }
    }
docs: ========================================================================== Stream.Writable interface