All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations
as_status.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  as_status {
  AEROSPIKE_OK = 0, AEROSPIKE_ERR = 100, AEROSPIKE_ERR_CLIENT = 200, AEROSPIKE_ERR_PARAM = 201,
  AEROSPIKE_ERR_CLUSTER = 300, AEROSPIKE_ERR_TIMEOUT = 400, AEROSPIKE_ERR_THROTTLED = 401, AEROSPIKE_ERR_SERVER = 500,
  AEROSPIKE_ERR_REQUEST_INVALID = 501, AEROSPIKE_ERR_NAMESPACE_NOT_FOUND = 502, AEROSPIKE_ERR_SERVER_FULL = 503, AEROSPIKE_ERR_CLUSTER_CHANGE = 504,
  AEROSPIKE_ERR_UNSUPPORTED_FEATURE = 505, AEROSPIKE_ERR_RECORD = 600, AEROSPIKE_ERR_RECORD_BUSY = 601, AEROSPIKE_ERR_RECORD_NOT_FOUND = 602,
  AEROSPIKE_ERR_RECORD_EXISTS = 603, AEROSPIKE_ERR_RECORD_GENERATION = 604, AEROSPIKE_ERR_RECORD_TOO_BIG = 605, AEROSPIKE_ERR_BIN_INCOMPATIBLE_TYPE = 606,
  AEROSPIKE_ERR_NO_XDR = 900, AEROSPIKE_ERR_SCAN = 1000, AEROSPIKE_ERR_SCAN_ABORTED = 1001, AEROSPIKE_ERR_QUERY = 1100,
  AEROSPIKE_ERR_QUERY_ABORTED = 1101, AEROSPIKE_ERR_QUERY_QUEUE_FULL = 1102, AEROSPIKE_ERR_INDEX = 1200, AEROSPIKE_ERR_INDEX_OOM = 1201,
  AEROSPIKE_ERR_INDEX_NOT_FOUND = 1202, AEROSPIKE_ERR_INDEX_FOUND = 1203, AEROSPIKE_ERR_INDEX_NOT_READABLE = 1204, AEROSPIKE_ERR_UDF = 1300,
  AEROSPIKE_ERR_UDF_NOT_FOUND = 1301, AEROSPIKE_ERR_LDT_INTERNAL = 1400, AEROSPIKE_ERR_LDT_NOT_FOUND = 1401, AEROSPIKE_ERR_LDT_UNIQUE_KEY = 1402,
  AEROSPIKE_ERR_LDT_INSERT = 1403, AEROSPIKE_ERR_LDT_SEARCH = 1404, AEROSPIKE_ERR_LDT_DELETE = 1405, AEROSPIKE_ERR_LDT_INPUT_PARM = 1409,
  AEROSPIKE_ERR_LDT_TYPE_MISMATCH = 1410, AEROSPIKE_ERR_LDT_NULL_BIN_NAME = 1411, AEROSPIKE_ERR_LDT_BIN_NAME_NOT_STRING = 1412, AEROSPIKE_ERR_LDT_BIN_NAME_TOO_LONG = 1413,
  AEROSPIKE_ERR_LDT_TOO_MANY_OPEN_SUBRECS = 1414, AEROSPIKE_ERR_LDT_TOP_REC_NOT_FOUND = 1415, AEROSPIKE_ERR_LDT_SUB_REC_NOT_FOUND = 1416, AEROSPIKE_ERR_LDT_BIN_DOES_NOT_EXIST = 1417,
  AEROSPIKE_ERR_LDT_BIN_ALREADY_EXISTS = 1418, AEROSPIKE_ERR_LDT_BIN_DAMAGED = 1419, AEROSPIKE_ERR_LDT_SUBREC_POOL_DAMAGED = 1420, AEROSPIKE_ERR_LDT_SUBREC_DAMAGED = 1421,
  AEROSPIKE_ERR_LDT_SUBREC_OPEN = 1422, AEROSPIKE_ERR_LDT_SUBREC_UPDATE = 1423, AEROSPIKE_ERR_LDT_SUBREC_CREATE = 1424, AEROSPIKE_ERR_LDT_SUBREC_DELETE = 1425,
  AEROSPIKE_ERR_LDT_SUBREC_CLOSE = 1426, AEROSPIKE_ERR_LDT_FILTER_FUNCTION_BAD = 1430, AEROSPIKE_ERR_LDT_FILTER_FUNCTION_NOT_FOUND = 1431, AEROSPIKE_ERR_LDT_KEY_FUNCTION_BAD = 1432,
  AEROSPIKE_ERR_LDT_KEY_FUNCTION_NOT_FOUND = 1433, AEROSPIKE_ERR_LDT_TRANS_FUNCTION_BAD = 1434, AEROSPIKE_ERR_LDT_TRANS_FUNCTION_NOT_FOUND = 1435, AEROSPIKE_ERR_LDT_UNTRANS_FUNCTION_BAD = 1436,
  AEROSPIKE_ERR_LDT_UNTRANS_FUNCTION_NOT_FOUND = 1437, AEROSPIKE_ERR_LDT_USER_MODULE_BAD = 1438, AEROSPIKE_ERR_LDT_USER_MODULE_NOT_FOUND = 1439
}
 

Enumeration Type Documentation

enum as_status

Status codes used as return values as as_error.code values.

Enumerator
AEROSPIKE_OK 

Generic success.

AEROSPIKE_ERR 

Generic error.

AEROSPIKE_ERR_CLIENT 

Generic client API usage error.

AEROSPIKE_ERR_PARAM 

Invalid client API parameter.

AEROSPIKE_ERR_CLUSTER 

Generic cluster discovery & connection error.

AEROSPIKE_ERR_TIMEOUT 

Request timed out.

AEROSPIKE_ERR_THROTTLED 

Request randomly dropped by client for throttling.

Warning
Not yet supported.
AEROSPIKE_ERR_SERVER 

Generic error returned by server.

AEROSPIKE_ERR_REQUEST_INVALID 

Request protocol invalid, or invalid protocol field.

AEROSPIKE_ERR_NAMESPACE_NOT_FOUND 

Namespace in request not found on server.

Warning
Not yet supported, shows as AEROSPIKE_ERR_REQUEST_INVALID.
AEROSPIKE_ERR_SERVER_FULL 

The server node is running out of memory and/or storage device space reserved for the specified namespace.

AEROSPIKE_ERR_CLUSTER_CHANGE 

A cluster state change occurred during the request. This may also be returned by scan operations with the fail_on_cluster_change flag set.

AEROSPIKE_ERR_UNSUPPORTED_FEATURE 

Sometimes our doc, or our customers wishes, get ahead of us. We may have processed something that the server is not ready for (unsupported feature).

AEROSPIKE_ERR_RECORD 

Generic record error.

AEROSPIKE_ERR_RECORD_BUSY 

Too may concurrent requests for one record - a "hot-key" situation.

AEROSPIKE_ERR_RECORD_NOT_FOUND 

Record does not exist in database. May be returned by read, or write with policy AS_POLICY_EXISTS_UPDATE.

Warning
AS_POLICY_EXISTS_UPDATE not yet supported.
AEROSPIKE_ERR_RECORD_EXISTS 

Record already exists. May be returned by write with policy AS_POLICY_EXISTS_CREATE.

AEROSPIKE_ERR_RECORD_GENERATION 

Generation of record in database does not satisfy write policy.

AEROSPIKE_ERR_RECORD_TOO_BIG 

Record being (re-)written can't fit in a storage write block.

AEROSPIKE_ERR_BIN_INCOMPATIBLE_TYPE 

Bin modification operation can't be done on an existing bin due to its value type.

AEROSPIKE_ERR_NO_XDR 

XDR is not available for the cluster.

AEROSPIKE_ERR_SCAN 

Generic scan error.

AEROSPIKE_ERR_SCAN_ABORTED 

Scan aborted by user.

AEROSPIKE_ERR_QUERY 

Generic query error.

AEROSPIKE_ERR_QUERY_ABORTED 

Query was aborted.

AEROSPIKE_ERR_QUERY_QUEUE_FULL 

Query processing queue is full.

AEROSPIKE_ERR_INDEX 

Generic secondary index error.

AEROSPIKE_ERR_INDEX_OOM 

Index is out of memory

AEROSPIKE_ERR_INDEX_NOT_FOUND 

Index not found

AEROSPIKE_ERR_INDEX_FOUND 

Index found.

AEROSPIKE_ERR_INDEX_NOT_READABLE 

Unable to read the index.

AEROSPIKE_ERR_UDF 

Generic UDF error.

AEROSPIKE_ERR_UDF_NOT_FOUND 

UDF does not exist.

AEROSPIKE_ERR_LDT_INTERNAL 

Internal LDT error.

AEROSPIKE_ERR_LDT_NOT_FOUND 

LDT item not found

AEROSPIKE_ERR_LDT_UNIQUE_KEY 

Unique key violation: Duplicated item inserted when 'unique key" was set.

AEROSPIKE_ERR_LDT_INSERT 

General error during insert operation.

AEROSPIKE_ERR_LDT_SEARCH 

General error during search operation.

AEROSPIKE_ERR_LDT_DELETE 

General error during delete operation.

AEROSPIKE_ERR_LDT_INPUT_PARM 

General input parameter error.

AEROSPIKE_ERR_LDT_TYPE_MISMATCH 

LDT Type mismatch for this bin.

AEROSPIKE_ERR_LDT_NULL_BIN_NAME 

The supplied LDT bin name is null.

AEROSPIKE_ERR_LDT_BIN_NAME_NOT_STRING 

The supplied LDT bin name must be a string.

AEROSPIKE_ERR_LDT_BIN_NAME_TOO_LONG 

The supplied LDT bin name exceeded the 14 char limit.

AEROSPIKE_ERR_LDT_TOO_MANY_OPEN_SUBRECS 

Internal Error: too many open records at one time.

AEROSPIKE_ERR_LDT_TOP_REC_NOT_FOUND 

Internal Error: Top Record not found.

AEROSPIKE_ERR_LDT_SUB_REC_NOT_FOUND 

Internal Error: Sub Record not found.

AEROSPIKE_ERR_LDT_BIN_DOES_NOT_EXIST 

LDT Bin does not exist.

AEROSPIKE_ERR_LDT_BIN_ALREADY_EXISTS 

Collision: LDT Bin already exists.

AEROSPIKE_ERR_LDT_BIN_DAMAGED 

LDT control structures in the Top Record are damaged. Cannot proceed.

AEROSPIKE_ERR_LDT_SUBREC_POOL_DAMAGED 

Internal Error: LDT Subrecord pool is damaged.

AEROSPIKE_ERR_LDT_SUBREC_DAMAGED 

LDT control structures in the Sub Record are damaged. Cannot proceed.

AEROSPIKE_ERR_LDT_SUBREC_OPEN 

Error encountered while opening a Sub Record.

AEROSPIKE_ERR_LDT_SUBREC_UPDATE 

Error encountered while updating a Sub Record.

AEROSPIKE_ERR_LDT_SUBREC_CREATE 

Error encountered while creating a Sub Record.

AEROSPIKE_ERR_LDT_SUBREC_DELETE 

Error encountered while deleting a Sub Record.

AEROSPIKE_ERR_LDT_SUBREC_CLOSE 

Error encountered while closing a Sub Record.

AEROSPIKE_ERR_LDT_FILTER_FUNCTION_BAD 

The filter function name was invalid.

AEROSPIKE_ERR_LDT_FILTER_FUNCTION_NOT_FOUND 

The filter function was not found.

AEROSPIKE_ERR_LDT_KEY_FUNCTION_BAD 

The function to extract the Unique Value from a complex object was invalid.

AEROSPIKE_ERR_LDT_KEY_FUNCTION_NOT_FOUND 

The function to extract the Unique Value from a complex object was not found.

AEROSPIKE_ERR_LDT_TRANS_FUNCTION_BAD 

The function to transform an object into a binary form was invalid.

AEROSPIKE_ERR_LDT_TRANS_FUNCTION_NOT_FOUND 

The function to transform an object into a binary form was not found.

AEROSPIKE_ERR_LDT_UNTRANS_FUNCTION_BAD 

The function to untransform an object from binary form to live form was invalid.

AEROSPIKE_ERR_LDT_UNTRANS_FUNCTION_NOT_FOUND 

The function to untransform an object from binary form to live form not found.

AEROSPIKE_ERR_LDT_USER_MODULE_BAD 

The UDF user module name for LDT Overrides was invalid

AEROSPIKE_ERR_LDT_USER_MODULE_NOT_FOUND 

The UDF user module name for LDT Overrides was not found

Definition at line 32 of file as_status.h.