lib/errors/index.js
function LDAPError(message, dn, caller) {
  if (Error.captureStackTrace)
    Error.captureStackTrace(this, caller || LDAPError);

  this.lde_message = message;
  this.lde_dn = dn;
}
function LDAPError(message, dn, caller) {
  if (Error.captureStackTrace)
    Error.captureStackTrace(this, caller || LDAPError);

  this.lde_message = message;
  this.lde_dn = dn;
}
function LDAPError ( message , dn , caller ) { if ( Error . captureStackTrace ) Error . captureStackTrace ( this , caller || LDAPError ) ; this . lde_message = message ; this . lde_dn = dn ; }
/--- Error Base class
/ --- Error Base class