<commit_before>/**
 * Err
 *
 * Thin wrapper around Error to add meta info to the error instance.
 */
'use strict'

var Err = module.exports = function(message, node, filePath) {
	var error = new Error(message)

	try {
		error.line = node.loc.line
		error.column = node.loc.column
		error.offset = node.loc.offset
		error.filePath = filePath
	} catch (error) {
		console.error(node)
	}

	return error
}<commit_msg>Remove dead code in lib/err.js<commit_after>/**
 * Err
 *
 * Thin wrapper around Error to add meta info to the error instance.
 */
'use strict'

var Err = module.exports = function(message, node, filePath) {
	var error = new Error(message)

	error.line = node.loc.line
	error.column = node.loc.column
	error.offset = node.loc.offset
	error.filePath = filePath

	return error
}
{'fraction_non_alphanumeric': 0.11518987341772152, 'fraction_numerical': 0.0, 'mean_word_length': 3.52, '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': '1109606', 'n_tokens_mistral': 269, 'n_tokens_neox': 258, 'n_words': 80}