Version: 1.0.0
errorcodes.h
Go to the documentation of this file.
1 #ifndef _WX_DATABASE_ERROR_CODES_H_
2 #define _WX_DATABASE_ERROR_CODES_H_
3 
4 #define wxDATABASE_OK 1
5 #define wxDATABASE_ERROR 2
6 #define wxDATABASE_USER 3
7 #define wxDATABASE_PASSWORD 4
8 #define wxDATABASE_CONSTRAINT_VIOLATION 5
9 #define wxDATABASE_SQL_SYNTAX_ERROR 6
10 #define wxDATABASE_ALLOCATION_ERROR 7
11 #define wxDATABASE_INCOMPATIBLE_FIELD_TYPE 8
12 #define wxDATABASE_FIELD_NOT_IN_RESULTSET 9
13 #define wxDATABASE_NO_ROWS_FOUND 10
14 #define wxDATABASE_NON_UNIQUE_RESULTSET 11
15 #define wxDATABASE_UNSUPPORTED_OPERATION 12
16 #define wxDATABASE_ERROR_LOADING_LIBRARY 13
17 
18 // Using 0 for now since this is replacing a
19 // boolean for the return code and we don't want
20 // to break existing code
21 #define wxDATABASE_QUERY_RESULT_ERROR 0
22 
23 #endif//_WX_DATABASE_ERROR_CODES_H_