CUBRID Engine  latest
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,
53  CAS_ER_ARGS = -10004,
54  CAS_ER_TRAN_TYPE = -10005,
56  CAS_ER_NUM_BIND = -10007,
58  CAS_ER_DB_VALUE = -10009,
62  CAS_ER_OBJECT = -10013,
63  CAS_ER_OPEN_FILE = -10014,
65  CAS_ER_VERSION = -10016,
81  CAS_ER_IS = -10200,
83 
84 
85 #ifdef __cplusplus
86 }
87 #endif
88 
89 #endif /* _CAS_ERROR_H_ */
T_CAS_ERROR_CODE
Definition: cas_error.h:47