你的位置:首页 > 数据库

[数据库]CUBRID学习笔记 5 错误码


服务器错误码

 

AS Error Code NumberCAS Error CodeError MessageNote
-1000CAS_ER_DBMS"CUBRID DBMS Error"Fails to connect to the database. Make sure the database is running.
-1001CAS_ER_INTERNAL  
-1002CAS_ER_NO_MORE_MEMORY"Memory allocation error" 
-1003CAS_ER_COMMUNICATION"Cannot receive data from client" 
-1004CAS_ER_ARGS  
-1005CAS_ER_TRAN_TYPE"Invalid transaction type argument" 
-1006CAS_ER_SRV_HANDLE  
-1007CAS_ER_NUM_BIND"Invalid parameter binding value argument"The number of data to be bound is not matched with the number of delivered data.
-1008CAS_ER_UNKNOWN_U_TYPE"Invalid T_CCI_U_TYPE value" 
-1009CAS_ER_DB_VALUE"Cannot make DB_VALUE" 
-1010CAS_ER_TYPE_CONVERSION"Type conversion error" 
-1011CAS_ER_PARAM_NAME"Invalid T_CCI_DB_PARAM value"Invalid get_db_parameter and set_db_parameter parameter name.
-1012CAS_ER_NO_MORE_DATA"Invalid cursor position" 
-1013CAS_ER_OBJECT"Invalid oid" 
-1014CAS_ER_OPEN_FILE"Cannot open file" 
-1015CAS_ER_SCHEMA_TYPE"Invalid T_CCI_SCH_TYPE value" 
-1016CAS_ER_VERSION"Version mismatch"Invalid Server and Client version.
-1017CAS_ER_FREE_SERVER"Cannot process the request. Try again later"Cannot assign CAS.
-1018CAS_ER_NOT_AUTHORIZED_CLIENT"Authorization error"Access is denied.
-1019CAS_ER_QUERY_CANCEL"Cannot cancel the query" 
-1020CAS_ER_NOT_COLLECTION"The attribute domain must be the set type"No set type.
-1021CAS_ER_COLLECTION_DOMAIN"Heterogeneous set is not supported"Not supported set type.
-1022CAS_ER_NO_MORE_RESULT_SET"No More Result" 
-1023CAS_ER_INVALID_CALL_STMT"Illegal CALL statement" 
-1024CAS_ER_STMT_POOLING"Invalid plan" 
-1025CAS_ER_DBSERVER_DISCONNECTED"Cannot communicate with DB Server" 
-1026CAS_ER_MAX_PREPARED_STMT_COUNT_EXCEEDED  
-1100CAS_ER_NOT_IMPLEMENTED  
-1200CAS_ER_IS

 

 net的错误码  CUBRID ADO.NET Error Codes and Messages

 

ADO.NET Error Code NumberError CodeError MessageNote
0ER_NO_ERROR"No Error" 
1ER_NOT_OBJECT"Index's Column is not an object" 
2ER_DBMS"Server Error - Check CUBRID Error Codes" 
3ER_COMMUNICATION"Cannot communicate with the broker" 
4ER_NO_MORE_DATA"Invalid dataReader position" 
5ER_TYPE_CONVERSION"DataType conversion error" 
6ER_BIND_INDEX"Missing or invalid position of the bind variable provided" 
7ER_NOT_BIND"Attempt to execute the query when not all the parameters are binded" 
8ER_WAS_NULL"Internal Error: NULL value encountered" 
9ER_COLUMN_INDEX"Column index is out of range" 
10ER_TRUNCATE"Data is truncated because receive buffer is too small" 
11ER_SCHEMA_TYPE"Internal error: Illegal schema paramCUBRIDDataType" 
12ER_FILE"File access failed" 
13ER_CONNECTION"Cannot connect to a broker" 
14ER_ISO_TYPE"Unknown transaction isolation level" 
15ER_ILLEGAL_REQUEST"Internal error: The requested information is not available" 
16ER_INVALID_ARGUMENT"The argument is invalid" 
17ER_IS_CLOSED"Connection or Statement might be closed" 
18ER_ILLEGAL_FLAG"Internal error: Invalid argument" 
19ER_ILLEGAL_DATA_SIZE"Cannot communicate with the broker or received invalid packet" 
20ER_NO_MORE_RESULT"No More Results" 
21ER_OID_IS_NOT_INCLUDED"The ResultSet does not include the OID" 
22ER_CMD_IS_NOT_INSERT"Command is not INSERT" 
23ER_UNKNOWN"Other Error"