Lines Matching +full:no +full:- +full:err
5 function destroy(err, cb) { argument
17 if (err) {
18 // Avoid V8 leak, https://github.com/nodejs/node/pull/34103#issuecomment-652002364
19 err.stack; // eslint-disable-line no-unused-expressions
22 w.errored = err;
25 r.errored = err;
30 // to make it re-entrance safe in case destroy() is called within callbacks
39 this._destroy(err || null, (err) => {
40 if (err) {
41 // Avoid V8 leak, https://github.com/nodejs/node/pull/34103#issuecomment-652002364
42 err.stack; // eslint-disable-line no-unused-expressions
45 w.errored = err;
48 r.errored = err;
60 cb(err);
63 if (err) {
64 process.nextTick(emitErrorCloseNT, this, err);
73 function emitErrorCloseNT(self, err) { argument
74 emitErrorNT(self, err);
91 function emitErrorNT(self, err) { argument
106 self.emit('error', err);
138 function errorOrDestroy(stream, err, sync) { argument
141 // For now when you opt-in to autoDestroy we allow
153 stream.destroy(err);
154 else if (err) {
155 // Avoid V8 leak, https://github.com/nodejs/node/pull/34103#issuecomment-652002364
156 err.stack; // eslint-disable-line no-unused-expressions
159 w.errored = err;
162 r.errored = err;
166 process.nextTick(emitErrorNT, stream, err);
168 emitErrorNT(stream, err);
178 function destroyer(stream, err) { argument
181 if (typeof stream.destroy === 'function') return stream.destroy(err);