<commit_before><?php

/**
 * This file is part of the BEAR.Resource package.
 *
 * @license http://opensource.org/licenses/MIT MIT
 */
namespace BEAR\Resource\Exception;

use BEAR\Resource\Code;

class ServerErrorException extends \ErrorException implements ExceptionInterface
{
    public function __construct(string $message = '', $code = Code::ERROR, \Exception $previous = null)
    {
        $this->message = $message;
        $this->code = $code;
    }
}<commit_msg>call ErrorException<commit_after><?php

/**
 * This file is part of the BEAR.Resource package.
 *
 * @license http://opensource.org/licenses/MIT MIT
 */
namespace BEAR\Resource\Exception;

use BEAR\Resource\Code;

class ServerErrorException extends \ErrorException implements ExceptionInterface
{
    public function __construct(string $message = '', $code = Code::ERROR, \Exception $previous = null)
    {
        parent::__construct($message, $code, 1, '', 0, $previous);
    }
}
{'fraction_non_alphanumeric': 0.12906610703043023, 'fraction_numerical': 0.002098635886673662, 'mean_word_length': 3.917525773195876, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5816535', 'n_tokens_mistral': 271, 'n_tokens_neox': 269, 'n_words': 72}