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