<commit_before><commit_msg>Add custom exceptions script.<commit_after>"""
Custom exceptions for file_comparison_panda module.

"""


class FileComparisonPandaError(Exception):
    """
    Base exception class for FileComparisonPandaError Errors.
    """
    pass


class UnsupportedFileType(FileComparisonPandaError):
    """
    Error to raise when an attempt is made to operate on
    an unsupported file-type.

    """
    pass
{'fraction_non_alphanumeric': 0.08139534883720931, 'fraction_numerical': 0.0, 'mean_word_length': 3.954022988505747, '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': '5521108', 'n_tokens_mistral': 118, 'n_tokens_neox': 111, 'n_words': 35}