<commit_before>from __future__ import absolute_import, unicode_literals


class MopidyException(Exception):

    def __init__(self, message, *args, **kwargs):
        super(MopidyException, self).__init__(message, *args, **kwargs)
        self._message = message

    @property
    def message(self):
        """Reimplement message field that was deprecated in Python 2.6"""
        return self._message

    @message.setter  # noqa
    def message(self, message):
        self._message = message


class BackendError(MopidyException):
    pass


class CoreError(MopidyException):

    def __init(self, message, errno=None):
        super(CoreError, self).__init(message, errno)
        self.errno = errno


class ExtensionError(MopidyException):
    pass


class FindError(MopidyException):

    def __init__(self, message, errno=None):
        super(FindError, self).__init__(message, errno)
        self.errno = errno


class FrontendError(MopidyException):
    pass


class MixerError(MopidyException):
    pass


class ScannerError(MopidyException):
    pass


class TracklistFull(CoreError):

    def __init(self, message, errno=None):
        super(TracklistFull, self).__init(message, errno)
        self.errno = errno


class AudioException(MopidyException):
    pass


class ValidationError(ValueError):
    pass<commit_msg>exception: Fix typo in new CoreErrors<commit_after>from __future__ import absolute_import, unicode_literals


class MopidyException(Exception):

    def __init__(self, message, *args, **kwargs):
        super(MopidyException, self).__init__(message, *args, **kwargs)
        self._message = message

    @property
    def message(self):
        """Reimplement message field that was deprecated in Python 2.6"""
        return self._message

    @message.setter  # noqa
    def message(self, message):
        self._message = message


class BackendError(MopidyException):
    pass


class CoreError(MopidyException):

    def __init__(self, message, errno=None):
        super(CoreError, self).__init__(message, errno)
        self.errno = errno


class ExtensionError(MopidyException):
    pass


class FindError(MopidyException):

    def __init__(self, message, errno=None):
        super(FindError, self).__init__(message, errno)
        self.errno = errno


class FrontendError(MopidyException):
    pass


class MixerError(MopidyException):
    pass


class ScannerError(MopidyException):
    pass


class TracklistFull(CoreError):

    def __init__(self, message, errno=None):
        super(TracklistFull, self).__init__(message, errno)
        self.errno = errno


class AudioException(MopidyException):
    pass


class ValidationError(ValueError):
    pass
{'fraction_non_alphanumeric': 0.09296296296296297, 'fraction_numerical': 0.0014814814814814814, 'mean_word_length': 3.656896551724138, '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': '5962826', 'n_tokens_mistral': 829, 'n_tokens_neox': 770, 'n_words': 190}