<commit_before>//
//  Error.swift
//  Math
//
//  Created by <NAME> on 23.04.16.
//  Copyright © 2016 pauljohanneskraft. All rights reserved.
//

// all errors concerning matrices

enum MatrixError: ErrorType {
    case NotMultipliable, NotAddable, Unsolvable
}

enum HashTableError: ErrorType {
    case InList, NotInList, BadHashFunction, HashConflict
}

enum ArrayError: ErrorType {
    case NotInArray, InArray, NotUnique
}<commit_msg>+HashTableErrors with values<commit_after>//
//  Error.swift
//  Math
//
//  Created by <NAME> on 23.04.16.
//  Copyright © 2016 pauljohanneskraft. All rights reserved.
//

// all errors concerning matrices

enum MatrixError: ErrorType {
    case NotMultipliable, NotAddable, Unsolvable
}

enum HashTableError<K: Hashable, V>: ErrorType {
    case InList((key: K, value: V)), NotInList(key: K), BadHashFunction
}

enum ArrayError: ErrorType {
    case NotUnique
}

enum NumberError: ErrorType {
    case TooBigForType(String)
}
{'fraction_non_alphanumeric': 0.10869565217391304, 'fraction_numerical': 0.020703933747412008, 'mean_word_length': 3.6490384615384617, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '3987764', 'n_tokens_mistral': 337, 'n_tokens_neox': 314, 'n_words': 92}