lib/errors/internalautherror.js
function InternalAuthError(message, err) {
    Error.call(this);
    Error.captureStackTrace(this, this.constructor);
    this.name = this.constructor.name;
    this.message = message;
    this.authError = err;
}
function InternalAuthError(message, err) {
    Error.call(this);
    Error.captureStackTrace(this, this.constructor);
    this.name = this.constructor.name;
    this.message = message;
    this.authError = err;
}
function InternalAuthError ( message , err ) { Error . call ( this ) ; Error . captureStackTrace ( this , this . constructor ) ; this . name = this . constructor . name ; this . message = message ; this . authError = err ; }
`InternalAuthError` error.

InternalAuthError wraps errors generated by node-oauth.  By wrapping these
objects, error messages can be formatted in a manner that aids in debugging
OAuth issues.

@constructor
@param {String} [message]
@param {Object|Error} [err]
@api public
InternalAuthError error .