27#include "kdb_export.h"
34#define ERR_NO_NAME_SPECIFIED 9
35#define ERR_DRIVERMANAGER 10
36#define ERR_INVALID_IDENTIFIER 11
37#define ERR_INVALID_ENCODING 12
38#define ERR_MISSING_DB_LOCATION 20
39#define ERR_ALREADY_CONNECTED 30
40#define ERR_NO_CONNECTION 40
41#define ERR_CONNECTION_FAILED 41
42#define ERR_CLOSE_FAILED 42
43#define ERR_NO_DB_USED 43
44#define ERR_OBJECT_EXISTS 50
45#define ERR_OBJECT_THE_SAME 51
46#define ERR_OBJECT_NOT_FOUND 60
47#define ERR_CANNOT_LOAD_OBJECT 61
48#define ERR_ACCESS_RIGHTS 70
49#define ERR_TRANSACTION_ACTIVE 80
50#define ERR_NO_TRANSACTION_ACTIVE 81
51#define ERR_NO_DB_PROPERTY 90
52#define ERR_DB_SPECIFIC 100
53#define ERR_CURSOR_NOT_OPEN 110
54#define ERR_SINGLE_DB_NAME_MISMATCH 120
55#define ERR_CURSOR_RECORD_FETCHING 130
56#define ERR_UNSUPPORTED_DRV_FEATURE 140
57#define ERR_ROLLBACK_OR_COMMIT_TRANSACTION 150
58#define ERR_SYSTEM_NAME_RESERVED 160
60#define ERR_CANNOT_CREATE_EMPTY_OBJECT 170
62#define ERR_INVALID_DRIVER_IMPL 180
63#define ERR_INCOMPAT_DRIVER_VERSION 181
64#define ERR_INCOMPAT_DATABASE_VERSION 182
66#define ERR_INVALID_DATABASE_CONTENTS 183
70#define ERR_UPDATE_NULL_PKEY_FIELD 190
71#define ERR_UPDATE_SERVER_ERROR 191
72#define ERR_UPDATE_NO_MASTER_TABLE 192
74#define ERR_UPDATE_NO_MASTER_TABLES_PKEY 193
77#define ERR_UPDATE_NO_ENTIRE_MASTER_TABLES_PKEY 194
82#define ERR_INSERT_NULL_PKEY_FIELD 220
83#define ERR_INSERT_SERVER_ERROR 221
84#define ERR_INSERT_NO_MASTER_TABLE 222
86#define ERR_INSERT_NO_MASTER_TABLES_PKEY 223
88#define ERR_INSERT_NO_ENTIRE_MASTER_TABLES_PKEY 224
93#define ERR_DELETE_NULL_PKEY_FIELD 250
94#define ERR_DELETE_SERVER_ERROR 251
95#define ERR_DELETE_NO_MASTER_TABLE 252
97#define ERR_DELETE_NO_MASTER_TABLES_PKEY 253
99#define ERR_DELETE_NO_ENTIRE_MASTER_TABLES_PKEY 254
104#define ERR_SQL_EXECUTION_ERROR 260
106#define ERR_SQL_PARSE_ERROR 270
108#define ERR_OTHER 0xffff
125 bool allowToDiscardChanges =
false;
QString description
Detailed error description, empty by default.
QString message
Error message, empty by default.
A database connectivity and creation framework.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:07 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.