Lines Matching defs:error
296 // There may be an error occurring synchronously (e.g. for files or TTYs
300 // Add and later remove a noop error handler to catch synchronous
302 if (stream.listenerCount('error') === 0)
303 stream.once('error', noop);
311 // Sorry, there's no proper way to pass along the error here.
313 stream.removeListener('error', noop);
360 // This conditional evaluates to true if and only if there was an error
366 // If there was an error, it will be emitted on `stream` as
367 // an `error` event. Adding a `once` listener will keep that error
370 // we are only adding noop if there is no one else listening for 'error'
371 if (stream.listenerCount('error') === 0) {
372 stream.once('error', noop);
431 this.error(err.stack);
688 Console.prototype.error = Console.prototype.warn;