max-mapper/concat-stream

How to resolve error

popomore opened this issue · 2 comments

How to resolve error

for example:

var stream = require('fs').createReadStream('data.txt')

stream.on('error', resolveError)

stream.pipe(concatStream(function(data) {}))

thx