ClickHouse/dbms/include/DB/Core/ErrorCodes.h

75 lines
1.8 KiB
C
Raw Normal View History

2010-03-01 16:59:51 +00:00
#ifndef DBMS_CORE_ERROR_CODES_H
#define DBMS_CORE_ERROR_CODES_H
namespace DB
{
namespace ErrorCodes
{
enum ErrorCodes
{
2010-03-03 19:48:02 +00:00
UNSUPPORTED_METHOD,
UNSUPPORTED_PARAMETER,
UNEXPECTED_END_OF_FILE,
2010-06-04 18:25:25 +00:00
CANNOT_READ_DATA_FROM_READ_BUFFER,
2010-03-03 19:48:02 +00:00
CANNOT_PARSE_TEXT,
2010-03-04 19:20:28 +00:00
INCORRECT_NUMBER_OF_COLUMNS,
THERE_IS_NO_COLUMN,
SIZES_OF_COLUMNS_DOESNT_MATCH,
EMPTY_COLUMN_IN_BLOCK,
NOT_FOUND_COLUMN_IN_BLOCK,
2010-03-05 15:29:17 +00:00
POSITION_OUT_OF_BOUND,
2010-03-12 18:25:35 +00:00
PARAMETER_OUT_OF_BOUND,
SIZES_OF_COLUMNS_IN_TUPLE_DOESNT_MATCH,
EMPTY_TUPLE,
2010-03-18 19:32:14 +00:00
DUPLICATE_COLUMN,
NO_SUCH_COLUMN_IN_TABLE,
2010-05-20 19:29:04 +00:00
DELIMITER_IN_STRING_LITERAL_DOESNT_MATCH,
CANNOT_INSERT_ELEMENT_INTO_CONSTANT_COLUMN,
SIZE_OF_ARRAY_DOESNT_MATCH_SIZE_OF_FIXEDARRAY_COLUMN,
2010-05-21 19:52:50 +00:00
NUMBER_OF_COLUMNS_DOESNT_MATCH,
CANNOT_READ_ALL_DATA_FROM_TAB_SEPARATED_INPUT,
CANNOT_PARSE_ALL_VALUE_FROM_TAB_SEPARATED_INPUT,
2010-05-28 19:13:55 +00:00
CANNOT_READ_FROM_ISTREAM,
CANNOT_WRITE_TO_OSTREAM,
CANNOT_PARSE_ESCAPE_SEQUENCE,
CANNOT_PARSE_QUOTED_STRING,
2010-06-01 13:35:09 +00:00
CANNOT_PARSE_INPUT_ASSERTION_FAILED,
CANNOT_PRINT_FLOAT_OR_DOUBLE_NUMBER,
CANNOT_PRINT_INTEGER,
2010-06-04 18:25:25 +00:00
CANNOT_READ_SIZE_OF_COMPRESSED_CHUNK,
CANNOT_READ_COMPRESSED_CHUNK,
ATTEMPT_TO_READ_AFTER_EOF,
CANNOT_READ_ALL_DATA,
2010-06-24 19:12:10 +00:00
TOO_MUCH_ARGUMENTS_FOR_FUNCTION,
TOO_LESS_ARGUMENTS_FOR_FUNCTION,
2010-06-25 19:55:19 +00:00
UNKNOWN_ELEMENT_IN_AST,
2011-05-27 18:47:00 +00:00
CANNOT_PARSE_DATE,
TOO_LARGE_SIZE_COMPRESSED,
CHECKSUM_DOESNT_MATCH,
2011-08-07 02:08:22 +00:00
CANNOT_PARSE_DATETIME,
2011-08-09 15:57:33 +00:00
NUMBER_OF_ARGUMENTS_DOESNT_MATCH,
ILLEGAL_TYPE_OF_ARGUMENT,
ILLEGAL_COLUMN,
ILLEGAL_NUMBER_OF_RESULT_COLUMNS,
2011-08-12 18:27:39 +00:00
UNKNOWN_FUNCTION,
UNKNOWN_IDENTIFIER,
NOT_IMPLEMENTED,
LOGICAL_ERROR,
2011-08-15 00:55:43 +00:00
UNKNOWN_TYPE,
2011-08-15 02:24:44 +00:00
EMPTY_LIST_OF_COLUMNS_QUERIED,
COLUMN_QUERIED_MORE_THAN_ONCE,
TYPE_MISMATCH,
2011-08-18 20:33:20 +00:00
STORAGE_DOESNT_ALLOW_PARAMETERS,
UNKNOWN_STORAGE,
TABLE_ALREADY_EXISTS,
2011-08-19 18:31:14 +00:00
TABLE_METADATA_ALREADY_EXISTS,
2011-08-27 04:34:29 +00:00
ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER,
2010-03-01 16:59:51 +00:00
};
}
}
#endif