(er)
| 6711 | // if the dest has an error, then stop piping into it. |
| 6712 | // however, don't suppress the throwing behavior for this. |
| 6713 | function onerror(er) { |
| 6714 | debug('onerror', er); |
| 6715 | unpipe(); |
| 6716 | dest.removeListener('error', onerror); |
| 6717 | if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er); |
| 6718 | } |
| 6719 | |
| 6720 | // Make sure our error handler is attached before userland ones. |
| 6721 | prependListener(dest, 'error', onerror); |
nothing calls this directly
no test coverage detected
searching dependent graphs…