<commit_before>class EcobeeException(Exception):
    pass


class EcobeeApiException(EcobeeException):
    pass


class EcobeeAuthorizationException(EcobeeException):
    pass


class EcobeeHttpException(EcobeeException):
    pass

<commit_msg>Fleshed out EcobeeApiException and EcobeeAuthorizationException to retain error details.<commit_after>class EcobeeException(Exception):
    pass


class EcobeeApiException(EcobeeException):
    def __init__(self, message, status_code, status_message):
        super(EcobeeApiException, self).__init__(message)
        self._status_code = status_code
        self._status_message = status_message

    @property
    def status_code(self):
        return self._status_code

    @property
    def status_message(self):
        return self._status_message


class EcobeeAuthorizationException(EcobeeException):
    def __init__(self, message, error, error_description, error_uri):
        super(EcobeeAuthorizationException, self).__init__(message)
        self._error = error
        self._error_description = error_description
        self._error_uri = error_uri

    @property
    def error(self):
        return self._error

    @property
    def error_description(self):
        return self._error_description

    @property
    def error_uri(self):
        return self._error_uri


class EcobeeHttpException(EcobeeException):
    pass


{'fraction_non_alphanumeric': 0.0658465991316932, 'fraction_numerical': 0.0, 'mean_word_length': 3.835664335664336, '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': '3357339', 'n_tokens_mistral': 400, 'n_tokens_neox': 383, 'n_words': 80}