<commit_before>'use strict';

var utils  = require('../utils');

function ApiAuthRequestError(errorData){
  Error.call(this);
  Error.captureStackTrace(this, this.constructor);
  this.name='ApiAuthRequestError';
  this.userMessage = this.message = errorData.userMessage;
  this.statusCode = errorData.statusCode || 400;
  if(errorData.error){
    this.error = errorData.error;
  }
}
utils.inherits(ApiAuthRequestError, Error);

module.exports = ApiAuthRequestError;<commit_msg>fix for error property definition<commit_after>'use strict';

var utils  = require('../utils');

function ApiAuthRequestError(errorData){
  Error.call(this);
  Error.captureStackTrace(this, this.constructor);
  this.name='ApiAuthRequestError';
  this.userMessage = this.message = errorData.userMessage;
  this.statusCode = errorData.statusCode || 400;
  this.error = errorData.error;
}
utils.inherits(ApiAuthRequestError, Error);

module.exports = ApiAuthRequestError;
{'fraction_non_alphanumeric': 0.12804232804232804, 'fraction_numerical': 0.006349206349206349, 'mean_word_length': 5.855072463768116, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3723762', 'n_tokens_mistral': 291, 'n_tokens_neox': 289, 'n_words': 50}