#pragma once namespace DB { namespace ErrorCodes { enum ErrorCodes { UNSUPPORTED_METHOD, UNSUPPORTED_PARAMETER, UNEXPECTED_END_OF_FILE, CANNOT_READ_DATA_FROM_READ_BUFFER, CANNOT_PARSE_TEXT, INCORRECT_NUMBER_OF_COLUMNS, THERE_IS_NO_COLUMN, SIZES_OF_COLUMNS_DOESNT_MATCH, EMPTY_COLUMN_IN_BLOCK, NOT_FOUND_COLUMN_IN_BLOCK, POSITION_OUT_OF_BOUND, PARAMETER_OUT_OF_BOUND, SIZES_OF_COLUMNS_IN_TUPLE_DOESNT_MATCH, EMPTY_TUPLE, DUPLICATE_COLUMN, NO_SUCH_COLUMN_IN_TABLE, DELIMITER_IN_STRING_LITERAL_DOESNT_MATCH, CANNOT_INSERT_ELEMENT_INTO_CONSTANT_COLUMN, SIZE_OF_ARRAY_DOESNT_MATCH_SIZE_OF_FIXEDARRAY_COLUMN, NUMBER_OF_COLUMNS_DOESNT_MATCH, CANNOT_READ_ALL_DATA_FROM_TAB_SEPARATED_INPUT, CANNOT_PARSE_ALL_VALUE_FROM_TAB_SEPARATED_INPUT, CANNOT_READ_FROM_ISTREAM, CANNOT_WRITE_TO_OSTREAM, CANNOT_PARSE_ESCAPE_SEQUENCE, CANNOT_PARSE_QUOTED_STRING, CANNOT_PARSE_INPUT_ASSERTION_FAILED, CANNOT_PRINT_FLOAT_OR_DOUBLE_NUMBER, CANNOT_PRINT_INTEGER, CANNOT_READ_SIZE_OF_COMPRESSED_CHUNK, CANNOT_READ_COMPRESSED_CHUNK, ATTEMPT_TO_READ_AFTER_EOF, CANNOT_READ_ALL_DATA, TOO_MUCH_ARGUMENTS_FOR_FUNCTION, TOO_LESS_ARGUMENTS_FOR_FUNCTION, UNKNOWN_ELEMENT_IN_AST, CANNOT_PARSE_DATE, TOO_LARGE_SIZE_COMPRESSED, CHECKSUM_DOESNT_MATCH, CANNOT_PARSE_DATETIME, NUMBER_OF_ARGUMENTS_DOESNT_MATCH, ILLEGAL_TYPE_OF_ARGUMENT, ILLEGAL_COLUMN, ILLEGAL_NUMBER_OF_RESULT_COLUMNS, UNKNOWN_FUNCTION, UNKNOWN_IDENTIFIER, NOT_IMPLEMENTED, LOGICAL_ERROR, UNKNOWN_TYPE, EMPTY_LIST_OF_COLUMNS_QUERIED, COLUMN_QUERIED_MORE_THAN_ONCE, TYPE_MISMATCH, STORAGE_DOESNT_ALLOW_PARAMETERS, UNKNOWN_STORAGE, TABLE_ALREADY_EXISTS, TABLE_METADATA_ALREADY_EXISTS, ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER, UNKNOWN_TABLE, ONLY_FILTER_COLUMN_IN_BLOCK, SYNTAX_ERROR, UNKNOWN_AGGREGATE_FUNCTION, CANNOT_READ_AGGREGATE_FUNCTION_FROM_TEXT, CANNOT_WRITE_AGGREGATE_FUNCTION_AS_TEXT, NOT_A_COLUMN, ILLEGAL_KEY_OF_AGGREGATION, CANNOT_GET_SIZE_OF_FIELD, ARGUMENT_OUT_OF_BOUND, CANNOT_CONVERT_TYPE, CANNOT_WRITE_AFTER_END_OF_BUFFER, CANNOT_PARSE_NUMBER, UNKNOWN_FORMAT, CANNOT_READ_FROM_FILE_DESCRIPTOR, CANNOT_WRITE_TO_FILE_DESCRIPTOR, CANNOT_OPEN_FILE, CANNOT_CLOSE_FILE, UNKNOWN_TYPE_OF_QUERY, INCORRECT_FILE_NAME, INCORRECT_QUERY, UNKNOWN_DATABASE, DATABASE_ALREADY_EXISTS, DIRECTORY_DOESNT_EXIST, DIRECTORY_ALREADY_EXISTS, FORMAT_IS_NOT_SUITABLE_FOR_INPUT, RECEIVED_ERROR_FROM_REMOTE_IO_SERVER, CANNOT_SEEK_THROUGH_FILE, CANNOT_TRUNCATE_FILE, UNKNOWN_COMPRESSION_METHOD, EMPTY_LIST_OF_COLUMNS_PASSED, SIZES_OF_MARKS_FILES_ARE_INCONSISTENT, EMPTY_DATA_PASSED, UNKNOWN_AGGREGATED_DATA_VARIANT, CANNOT_MERGE_DIFFERENT_AGGREGATED_DATA_VARIANTS, NO_STREAMS_RETURNED_FROM_TABLE, CANNOT_READ_FROM_SOCKET, CANNOT_WRITE_TO_SOCKET, CANNOT_READ_ALL_DATA_FROM_CHUNKED_INPUT, CANNOT_WRITE_TO_EMPTY_BLOCK_OUTPUT_STREAM, UNKNOWN_PACKET_FROM_CLIENT, UNKNOWN_PACKET_FROM_SERVER, UNEXPECTED_PACKET_FROM_CLIENT, UNEXPECTED_PACKET_FROM_SERVER, RECEIVED_DATA_FOR_WRONG_QUERY_ID, TOO_SMALL_BUFFER_SIZE, CANNOT_READ_HISTORY, CANNOT_APPEND_HISTORY, POCO_EXCEPTION = 1000, STD_EXCEPTION, UNKNOWN_EXCEPTION, }; } }