CUBRID Engine
latest
Main Page
Namespaces
Classes
Files
File List
File Members
cas_error.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2008 Search Solution Corporation.
3
* Copyright (c) 2016 CUBRID Corporation.
4
*
5
* Redistribution and use in source and binary forms, with or without modification,
6
* are permitted provided that the following conditions are met:
7
*
8
* - Redistributions of source code must retain the above copyright notice,
9
* this list of conditions and the following disclaimer.
10
*
11
* - Redistributions in binary form must reproduce the above copyright notice,
12
* this list of conditions and the following disclaimer in the documentation
13
* and/or other materials provided with the distribution.
14
*
15
* - Neither the name of the <ORGANIZATION> nor the names of its contributors
16
* may be used to endorse or promote products derived from this software without
17
* specific prior written permission.
18
*
19
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
20
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22
* IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
23
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
24
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
25
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
28
* OF SUCH DAMAGE.
29
*
30
*/
31
32
/*
33
* cas_error.h -
34
*/
35
36
#ifndef _CAS_ERROR_H_
37
#define _CAS_ERROR_H_
38
39
#ident "$Id$"
40
41
#ifdef __cplusplus
42
extern
"C"
43
{
44
#endif
45
46
47
typedef
enum
48
{
49
CAS_ER_DBMS
= -10000,
50
CAS_ER_INTERNAL
= -10001,
51
CAS_ER_NO_MORE_MEMORY
= -10002,
52
CAS_ER_COMMUNICATION
= -10003,
53
CAS_ER_ARGS
= -10004,
54
CAS_ER_TRAN_TYPE
= -10005,
55
CAS_ER_SRV_HANDLE
= -10006,
56
CAS_ER_NUM_BIND
= -10007,
57
CAS_ER_UNKNOWN_U_TYPE
= -10008,
58
CAS_ER_DB_VALUE
= -10009,
59
CAS_ER_TYPE_CONVERSION
= -10010,
60
CAS_ER_PARAM_NAME
= -10011,
61
CAS_ER_NO_MORE_DATA
= -10012,
62
CAS_ER_OBJECT
= -10013,
63
CAS_ER_OPEN_FILE
= -10014,
64
CAS_ER_SCHEMA_TYPE
= -10015,
65
CAS_ER_VERSION
= -10016,
66
CAS_ER_FREE_SERVER
= -10017,
67
CAS_ER_NOT_AUTHORIZED_CLIENT
= -10018,
68
CAS_ER_QUERY_CANCEL
= -10019,
69
CAS_ER_NOT_COLLECTION
= -10020,
70
CAS_ER_COLLECTION_DOMAIN
= -10021,
71
CAS_ER_NO_MORE_RESULT_SET
= -10022,
72
CAS_ER_INVALID_CALL_STMT
= -10023,
73
CAS_ER_STMT_POOLING
= -10024,
74
CAS_ER_DBSERVER_DISCONNECTED
= -10025,
75
CAS_ER_MAX_PREPARED_STMT_COUNT_EXCEEDED
= -10026,
76
CAS_ER_HOLDABLE_NOT_ALLOWED
= -10027,
77
CAS_ER_NOT_IMPLEMENTED
= -10100,
78
CAS_ER_MAX_CLIENT_EXCEEDED
= -10101,
79
CAS_ER_INVALID_CURSOR_POS
= -10102,
80
CAS_ER_SSL_TYPE_NOT_ALLOWED
= -10103,
81
CAS_ER_IS
= -10200,
82
}
T_CAS_ERROR_CODE
;
83
84
85
#ifdef __cplusplus
86
}
87
#endif
88
89
#endif
/* _CAS_ERROR_H_ */
CAS_ER_TYPE_CONVERSION
Definition:
cas_error.h:59
CAS_ER_NO_MORE_DATA
Definition:
cas_error.h:61
CAS_ER_MAX_CLIENT_EXCEEDED
Definition:
cas_error.h:78
CAS_ER_ARGS
Definition:
cas_error.h:53
CAS_ER_HOLDABLE_NOT_ALLOWED
Definition:
cas_error.h:76
CAS_ER_NO_MORE_MEMORY
Definition:
cas_error.h:51
CAS_ER_COMMUNICATION
Definition:
cas_error.h:52
CAS_ER_IS
Definition:
cas_error.h:81
CAS_ER_INVALID_CURSOR_POS
Definition:
cas_error.h:79
CAS_ER_STMT_POOLING
Definition:
cas_error.h:73
CAS_ER_NO_MORE_RESULT_SET
Definition:
cas_error.h:71
CAS_ER_DBSERVER_DISCONNECTED
Definition:
cas_error.h:74
CAS_ER_VERSION
Definition:
cas_error.h:65
CAS_ER_NOT_COLLECTION
Definition:
cas_error.h:69
CAS_ER_SRV_HANDLE
Definition:
cas_error.h:55
CAS_ER_TRAN_TYPE
Definition:
cas_error.h:54
T_CAS_ERROR_CODE
T_CAS_ERROR_CODE
Definition:
cas_error.h:47
CAS_ER_NOT_IMPLEMENTED
Definition:
cas_error.h:77
CAS_ER_NUM_BIND
Definition:
cas_error.h:56
CAS_ER_UNKNOWN_U_TYPE
Definition:
cas_error.h:57
CAS_ER_COLLECTION_DOMAIN
Definition:
cas_error.h:70
CAS_ER_FREE_SERVER
Definition:
cas_error.h:66
CAS_ER_SCHEMA_TYPE
Definition:
cas_error.h:64
CAS_ER_NOT_AUTHORIZED_CLIENT
Definition:
cas_error.h:67
CAS_ER_OBJECT
Definition:
cas_error.h:62
CAS_ER_PARAM_NAME
Definition:
cas_error.h:60
CAS_ER_OPEN_FILE
Definition:
cas_error.h:63
CAS_ER_MAX_PREPARED_STMT_COUNT_EXCEEDED
Definition:
cas_error.h:75
CAS_ER_SSL_TYPE_NOT_ALLOWED
Definition:
cas_error.h:80
CAS_ER_DBMS
Definition:
cas_error.h:49
CAS_ER_INTERNAL
Definition:
cas_error.h:50
CAS_ER_QUERY_CANCEL
Definition:
cas_error.h:68
CAS_ER_DB_VALUE
Definition:
cas_error.h:58
CAS_ER_INVALID_CALL_STMT
Definition:
cas_error.h:72
src
broker
cas_error.h
Generated by
1.8.11