<commit_before>#pragma once

#include <string>

#define GENERR  (0x1 << 7)
#define SKINERR (GENERR << 8)

#define GENERR_NOTFOUND            GENERR + 1

#define SKINERR_INVALID_SKIN       SKINERR + 1
#define SKINERR_INVALID_OSD        SKINERR + 2
#define SKINERR_INVALID_METER      SKINERR + 3
#define SKINERR_INVALID_CONT       SKINERR + 4
#define SKINERR_INVALID_OSD_BG     SKINERR + 5
#define SKINERR_INVALID_CONT_BG    SKINERR + 6
#define SKINERR_INVALID_SLIDERTYPE SKINERR + 7
#define SKINERR_NOTFOUND           SKINERR + 8
#define SKINERR_MISSING_XML        SKINERR + 9

class Error {
public:
    static void ErrorMessage(unsigned int error, std::wstring detail = L"") {
        std::wstring msg(L"");<commit_msg>Add new error definitions and consolidate others<commit_after>#pragma once

#include <string>

#define GENERR  (0x1 << 7)
#define SKINERR (GENERR << 8)

#define GENERR_NOTFOUND            GENERR + 1

#define SKINERR_INVALID_SKIN       SKINERR + 1
#define SKINERR_INVALID_OSD        SKINERR + 2
#define SKINERR_INVALID_METER      SKINERR + 3
#define SKINERR_INVALID_SLIDER     SKINERR + 4
#define SKINERR_INVALID_BG         SKINERR + 5
#define SKINERR_INVALID_SLIDERTYPE SKINERR + 7
#define SKINERR_NOTFOUND           SKINERR + 8
#define SKINERR_MISSING_XML        SKINERR + 9
#define SKINERR_READERR            SKINERR + 10

class Error {
public:
    static void ErrorMessage(unsigned int error, std::wstring detail = L"") {
        std::wstring msg(L"");
{'fraction_non_alphanumeric': 0.07462686567164178, 'fraction_numerical': 0.01967435549525102, 'mean_word_length': 3.4832826747720365, 'pattern_counts': {'":': 0, '<': 13, '<?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': '4252190', 'n_tokens_mistral': 541, 'n_tokens_neox': 511, 'n_words': 135}