<commit_before><?php
namespace Api\Framework\Errors;

interface ErrorInterface
{

    /**
     * Raw error message
     * 
     * @var string
     */
    protected $message;

    /**
     * Get type of error
     * 
     * @author <NAME>
     *        
     */
    public function getType();

    /**
     * Get raw message, by default it should be $message
     * 
     * @author <NAME>
     *        
     */
    public function getRawMessage();

    /**
     * Get HTML representation of error
     * <commit_msg>Interface fix<commit_after><?php
namespace Api\Framework\Errors;

interface ErrorInterface
{

    /**
     * Get type of error
     * 
     * @author <NAME>
     *        
     */
    public function getType();

    /**
     * Get raw message, by default it should be $message
     * 
     * @author <NAME>
     *        
     */
    public function getRawMessage();

    /**
     * Get HTML representation of error
     * 
{'fraction_non_alphanumeric': 0.10969116080937168, 'fraction_numerical': 0.0, 'mean_word_length': 1.5966850828729282, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '4426827', 'n_tokens_mistral': 274, 'n_tokens_neox': 265, 'n_words': 74}