lib/activedirectory.js
function onClientError(err) {
    // Ignore ECONNRESET errors
    if ((err || {}).errno !== 'ECONNRESET') {
      log.error('An unhandled error occured when searching for the root DSE at "%s". Error: %j', url, err);
      if (hasEvents.call(self, 'error')) self.emit('error', err)
    }
  }
function onClientError(err) {
    // Ignore ECONNRESET errors
    if ((err || {}).errno !== 'ECONNRESET') {
      log.error('An unhandled error occured when searching for the root DSE at "%s". Error: %j', url, err);
      if (hasEvents.call(self, 'error')) self.emit('error', err)
    }
  }
function onClientError ( err ) { // Ignore ECONNRESET errors if ( ( err || { } ) . errno !== 'ECONNRESET' ) { log . error ( 'An unhandled error occured when searching for the root DSE at "%s". Error: %j' , url , err ) ; if ( hasEvents . call ( self , 'error' ) ) self . emit ( 'error' , err ) } }
Inline function handle connection and result errors.

@private
Inline function handle connection and result errors .