Pipes one stream into another and emits errors of the first stream with the second. If the first stream errors, the second one will be destroyed with the given error. This will also make the stream Guarded.
Initial readable stream.
The destination for writing data.
Optional
Optional function that takes the error and converts it to a new error.
The destination stream.
Pipes one stream into another and emits errors of the first stream with the second. If the first stream errors, the second one will be destroyed with the given error. This will also make the stream Guarded.