<commit_before>inherits = require('inherits')
debug = require('debug')("restful-store:HttpError")
_ = require('lodash')

HttpError = (httpErr) ->
  debug(httpErr)

  Error.call(this)<commit_msg>comment<commit_after>inherits = require('inherits')
debug = require('debug')("restful-store:HttpError")
_ = require('lodash')

# TODO split up this error class
# into many separate error classes
# http://dailyjs.com/2014/01/30/exception-error/
HttpError = (httpErr) ->
  debug(httpErr)

  Error.call(this)
{'fraction_non_alphanumeric': 0.1623246492985972, 'fraction_numerical': 0.01603206412825651, 'mean_word_length': 6.042253521126761, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4932557', 'n_tokens_mistral': 175, 'n_tokens_neox': 163, 'n_words': 29}