00001 //$$FILE$$ 00002 //$$VERSION$$ 00003 //$$DATE$$ 00004 //$$LICENSE$$ 00005 00006 /* 00007 PURPOSE: Error codes 00008 */ 00009 00010 #ifndef __TABLE_ERROR_H__ 00011 #define __TABLE_ERROR_H__ 00012 00013 const int NO_TABLE_ERROR = 0; 00014 00015 const int ROW_OUT_OF_BOUNDS = -201; 00016 const int COLUMN_OUT_OF_BOUNDS = -202; 00017 const int NO_TREE_ON_COLUMN = -203; 00018 const int INDEX_NAME_NOT_FOUND = -204; 00019 const int NEW_COLUMN_LENGTH_ZERO = -205; 00020 const int ADD_UPDATE_NULL = -206; 00021 const int COLUMN_NAME_NOT_FOUND = -207; 00022 const int SOME_COLUMN_NAMES_NOT_FOUND = -208; 00023 const int REGEX_COMPILE_FAILED = -209; 00024 const int NO_APPROPRIATE_INDEX = -210; 00025 const int NOT_FOUND = -211; 00026 const int DELETED_ROW = -212; 00027 const int INDEX_CORRUPTED = -213; 00028 const int KEY_ERROR = -214; 00029 const int TABLE_NOT_FOUND = -215; 00030 00031 const int ASSERT_WARNING = -275; 00032 00033 const int ASSERT_NULL_DATA_POINTER = -280; 00034 00035 const int DUPLICATE_ROW = -290; 00036 00037 const int TABLE_WARNING = -350; // anything smaller maybe a big error 00038 00039 const int NULL_COMPARISON = -400; 00040 const int DOUBLE_CONVERSION_ERROR = -401; 00041 const int INTEGER_CONVERSION_ERROR = -402; 00042 const int NULL_SEARCH_LIST = -403; 00043 const int NOT_A_DATATYPE_ERROR = -404; 00044 const int ERROR_NO_FILE_NAVIGATOR = -405; 00045 const int INTERNAL_INCONSISTENCY_ERROR = -406; 00046 00047 #endif