<commit_before><?php

namespace Chevron\ErrHandler;
/**
 * a simple error to exception convertor inspired by corpus/autoloader
 *
 * @package Chevron\Error
 */
class ErrorHandler {

	/**
	 * @param int $errno The error level
	 * @param string $errstr The error message
	 * @param string $errfile The file of the error
	 * @param int $errline The line of the error
	 */
	function __invoke(){
		list($errno, $errstr, $errfile, $errline) = func_get_args();
		throw new \ErrorException($errstr, 90053, $errno, $errfile, $errline);<commit_msg>uses a real error code<commit_after><?php

namespace Chevron\ErrHandler;
/**
 * a simple error to exception convertor inspired by corpus/autoloader
 *
 * @package Chevron\Error
 */
class ErrorHandler {

	/**
	 * @param int $errno The error level
	 * @param string $errstr The error message
	 * @param string $errfile The file of the error
	 * @param int $errline The line of the error
	 */
	function __invoke(){
		list($errno, $errstr, $errfile, $errline) = func_get_args();
		throw new \ErrorException($errstr, 500, $errno, $errfile, $errline);
{'fraction_non_alphanumeric': 0.11819021237303785, 'fraction_numerical': 0.007386888273314866, 'mean_word_length': 4.287804878048781, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5176430', 'n_tokens_mistral': 357, 'n_tokens_neox': 329, 'n_words': 119}