Changeset View
Changeset View
Standalone View
Standalone View
src/KDbError.h
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Line(s) | |||||
97 | #define ERR_DELETE_NO_MASTER_TABLES_PKEY 253 //!< data could not be deleted because master | 97 | #define ERR_DELETE_NO_MASTER_TABLES_PKEY 253 //!< data could not be deleted because master | ||
98 | //!< table has no primary key defined | 98 | //!< table has no primary key defined | ||
99 | #define ERR_DELETE_NO_ENTIRE_MASTER_TABLES_PKEY 254 //!< data could not be deleted | 99 | #define ERR_DELETE_NO_ENTIRE_MASTER_TABLES_PKEY 254 //!< data could not be deleted | ||
100 | //!< because it does not contain entire | 100 | //!< because it does not contain entire | ||
101 | //!< master table's primary key | 101 | //!< master table's primary key | ||
102 | 102 | | |||
103 | //! errors related to queries | 103 | //! errors related to queries | ||
104 | #define ERR_SQL_EXECUTION_ERROR 260 //!< general server error for sql statement execution | 104 | #define ERR_SQL_EXECUTION_ERROR 260 //!< general server error for sql statement execution | ||
105 | //!< usually returned by KDbConnection::executeSQL() | 105 | //!< usually returned by KDbConnection::executeSql() | ||
106 | #define ERR_SQL_PARSE_ERROR 270 //!< Parse error coming from arser::parse() | 106 | #define ERR_SQL_PARSE_ERROR 270 //!< Parse error coming from arser::parse() | ||
107 | 107 | | |||
108 | #define ERR_OTHER 0xffff //!< use this if you have not (yet?) the name for given error | 108 | #define ERR_OTHER 0xffff //!< use this if you have not (yet?) the name for given error | ||
109 | 109 | | |||
110 | } // namespace KDb | 110 | } // namespace KDb | ||
111 | 111 | | |||
112 | /*! This class contains a result information | 112 | /*! This class contains a result information | ||
113 | for various data manipulation operations, like cell/row updating/inserting. */ | 113 | for various data manipulation operations, like cell/row updating/inserting. */ | ||
Show All 30 Lines |