lib/config-error.js
function ConfigError(lineno, line, file, err) {
  this.name = ConfigError.name;
  Error.call(this);

  var fmt = '*** FATAL CONFIG FILE ERROR ***%s';
  fmt += 'Reading the configuration file, at line %s%s';
  fmt += '>>> %s%s';
  fmt += err && err.message && !(err instanceof TypeDefError) ? err.message :
    'Bad directive or wrong number of arguments';

  this.message = util.format(fmt, EOL, lineno, EOL, line, EOL);
  this.file = file;
  this.err = err;
}
function ConfigError(lineno, line, file, err) {
  this.name = ConfigError.name;
  Error.call(this);

  var fmt = '*** FATAL CONFIG FILE ERROR ***%s';
  fmt += 'Reading the configuration file, at line %s%s';
  fmt += '>>> %s%s';
  fmt += err && err.message && !(err instanceof TypeDefError) ? err.message :
    'Bad directive or wrong number of arguments';

  this.message = util.format(fmt, EOL, lineno, EOL, line, EOL);
  this.file = file;
  this.err = err;
}
function ConfigError ( lineno , line , file , err ) { this . name = ConfigError . name ; Error . call ( this ) ; var fmt = '*** FATAL CONFIG FILE ERROR ***%s' ; fmt += 'Reading the configuration file, at line %s%s' ; fmt += '>>> %s%s' ; fmt += err && err . message && ! ( err instanceof TypeDefError ) ? err . message : 'Bad directive or wrong number of arguments' ; this . message = util . format ( fmt , EOL , lineno , EOL , line , EOL ) ; this . file = file ; this . err = err ; }
Represents a configuration file error.

@param lineno The line number in the source file.
@param line The line that triggered the error.
@param file The configuration file being loaded.
@param err A source error containing more detail.
Represents a configuration file error .