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_ERR_INVALID_HOST = -4, AEROSPIKE_NO_MORE_RECORDS = -3, AEROSPIKE_ERR_PARAM = -2, AEROSPIKE_ERR_CLIENT = -1,
  AEROSPIKE_ERR = -1, AEROSPIKE_OK = 0, AEROSPIKE_ERR_SERVER = 1, AEROSPIKE_ERR_RECORD_NOT_FOUND = 2,
  AEROSPIKE_ERR_RECORD_GENERATION = 3, AEROSPIKE_ERR_REQUEST_INVALID = 4, AEROSPIKE_ERR_RECORD_EXISTS = 5, AEROSPIKE_ERR_BIN_EXISTS = 6,
  AEROSPIKE_ERR_CLUSTER_CHANGE = 7, AEROSPIKE_ERR_SERVER_FULL = 8, AEROSPIKE_ERR_TIMEOUT = 9, AEROSPIKE_ERR_NO_XDR = 10,
  AEROSPIKE_ERR_CLUSTER = 11, AEROSPIKE_ERR_BIN_INCOMPATIBLE_TYPE = 12, AEROSPIKE_ERR_RECORD_TOO_BIG = 13, AEROSPIKE_ERR_RECORD_BUSY = 14,
  AEROSPIKE_ERR_SCAN_ABORTED = 15, AEROSPIKE_ERR_UNSUPPORTED_FEATURE = 16, AEROSPIKE_ERR_BIN_NOT_FOUND = 17, AEROSPIKE_ERR_DEVICE_OVERLOAD = 18,
  AEROSPIKE_ERR_RECORD_KEY_MISMATCH = 19, AEROSPIKE_ERR_NAMESPACE_NOT_FOUND = 20, AEROSPIKE_ERR_BIN_NAME = 21, AEROSPIKE_ERR_FAIL_FORBIDDEN = 22,
  AEROSPIKE_QUERY_END = 50, AEROSPIKE_SECURITY_NOT_SUPPORTED = 51, AEROSPIKE_SECURITY_NOT_ENABLED = 52, AEROSPIKE_SECURITY_SCHEME_NOT_SUPPORTED = 53,
  AEROSPIKE_INVALID_COMMAND = 54, AEROSPIKE_INVALID_FIELD = 55, AEROSPIKE_ILLEGAL_STATE = 56, AEROSPIKE_INVALID_USER = 60,
  AEROSPIKE_USER_ALREADY_EXISTS = 61, AEROSPIKE_INVALID_PASSWORD = 62, AEROSPIKE_EXPIRED_PASSWORD = 63, AEROSPIKE_FORBIDDEN_PASSWORD = 64,
  AEROSPIKE_INVALID_CREDENTIAL = 65, AEROSPIKE_INVALID_ROLE = 70, AEROSPIKE_ROLE_ALREADY_EXISTS = 71, AEROSPIKE_INVALID_PRIVILEGE = 72,
  AEROSPIKE_NOT_AUTHENTICATED = 80, AEROSPIKE_ROLE_VIOLATION = 81, AEROSPIKE_ERR_UDF = 100, AEROSPIKE_ERR_LARGE_ITEM_NOT_FOUND = 125,
  AEROSPIKE_ERR_INDEX_FOUND = 200, AEROSPIKE_ERR_INDEX_NOT_FOUND = 201, AEROSPIKE_ERR_INDEX_OOM = 202, AEROSPIKE_ERR_INDEX_NOT_READABLE = 203,
  AEROSPIKE_ERR_INDEX = 204, AEROSPIKE_ERR_INDEX_NAME_MAXLEN = 205, AEROSPIKE_ERR_INDEX_MAXCOUNT = 206, AEROSPIKE_ERR_QUERY_ABORTED = 210,
  AEROSPIKE_ERR_QUERY_QUEUE_FULL = 211, AEROSPIKE_ERR_QUERY_TIMEOUT = 212, AEROSPIKE_ERR_QUERY = 213, AEROSPIKE_ERR_UDF_NOT_FOUND = 1301,
  AEROSPIKE_ERR_LUA_FILE_NOT_FOUND = 1302, 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_TOPREC_UPDATE = 1427, AEROSPIKE_ERR_LDT_TOPREC_CREATE = 1428, 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_ERR_INVALID_HOST 

Host name could not be found in DNS lookup.

AEROSPIKE_NO_MORE_RECORDS 

No more records available when parsing batch, scan or query records.

AEROSPIKE_ERR_PARAM 

Invalid client API parameter.

AEROSPIKE_ERR_CLIENT 

Generic client API usage error.

AEROSPIKE_ERR 

Deprecated. Generic client error. Keep for legacy reasons.

AEROSPIKE_OK 

Generic success.

AEROSPIKE_ERR_SERVER 

Generic error returned by server.

AEROSPIKE_ERR_RECORD_NOT_FOUND 

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

AEROSPIKE_ERR_RECORD_GENERATION 

Generation of record in database does not satisfy write policy.

AEROSPIKE_ERR_REQUEST_INVALID 

Request protocol invalid, or invalid protocol field.

AEROSPIKE_ERR_RECORD_EXISTS 

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

AEROSPIKE_ERR_BIN_EXISTS 

Bin already exists.

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_SERVER_FULL 

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

AEROSPIKE_ERR_TIMEOUT 

Request timed out. Can be triggered by client or server.

AEROSPIKE_ERR_NO_XDR 

XDR is not available for the cluster.

AEROSPIKE_ERR_CLUSTER 

Generic cluster discovery & connection error.

AEROSPIKE_ERR_BIN_INCOMPATIBLE_TYPE 

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

AEROSPIKE_ERR_RECORD_TOO_BIG 

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

AEROSPIKE_ERR_RECORD_BUSY 

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

AEROSPIKE_ERR_SCAN_ABORTED 

Scan aborted by user.

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_BIN_NOT_FOUND 

Bin-level replace-only supported on server but not on client.

AEROSPIKE_ERR_DEVICE_OVERLOAD 

The server node's storage device(s) can't keep up with the write load.

AEROSPIKE_ERR_RECORD_KEY_MISMATCH 

Record key sent with transaction did not match key stored on server.

AEROSPIKE_ERR_NAMESPACE_NOT_FOUND 

Namespace in request not found on server.

AEROSPIKE_ERR_BIN_NAME 

Sent too-long bin name (should be impossible in this client) or exceeded namespace's bin name quota.

AEROSPIKE_ERR_FAIL_FORBIDDEN 

Operation not allowed at this time.

AEROSPIKE_QUERY_END 

There are no more records left for query.

AEROSPIKE_SECURITY_NOT_SUPPORTED 

Security functionality not supported by connected server.

AEROSPIKE_SECURITY_NOT_ENABLED 

Security functionality not enabled by connected server.

AEROSPIKE_SECURITY_SCHEME_NOT_SUPPORTED 

Security type not supported by connected server.

AEROSPIKE_INVALID_COMMAND 

Administration command is invalid.

AEROSPIKE_INVALID_FIELD 

Administration field is invalid.

AEROSPIKE_ILLEGAL_STATE 

Security protocol not followed.

AEROSPIKE_INVALID_USER 

User name is invalid.

AEROSPIKE_USER_ALREADY_EXISTS 

User was previously created.

AEROSPIKE_INVALID_PASSWORD 

Password is invalid.

AEROSPIKE_EXPIRED_PASSWORD 

Password has expired.

AEROSPIKE_FORBIDDEN_PASSWORD 

Forbidden password (e.g. recently used)

AEROSPIKE_INVALID_CREDENTIAL 

Security credential is invalid.

AEROSPIKE_INVALID_ROLE 

Role name is invalid.

AEROSPIKE_ROLE_ALREADY_EXISTS 

Role already exists.

AEROSPIKE_INVALID_PRIVILEGE 

Privilege is invalid.

AEROSPIKE_NOT_AUTHENTICATED 

User must be authentication before performing database operations.

AEROSPIKE_ROLE_VIOLATION 

User does not possess the required role to perform the database operation.

AEROSPIKE_ERR_UDF 

Generic UDF error.

AEROSPIKE_ERR_LARGE_ITEM_NOT_FOUND 

The requested item in a large collection was not found.

AEROSPIKE_ERR_INDEX_FOUND 

Index found.

AEROSPIKE_ERR_INDEX_NOT_FOUND 

Index not found

AEROSPIKE_ERR_INDEX_OOM 

Index is out of memory

AEROSPIKE_ERR_INDEX_NOT_READABLE 

Unable to read the index.

AEROSPIKE_ERR_INDEX 

Generic secondary index error.

AEROSPIKE_ERR_INDEX_NAME_MAXLEN 

Index name is too long.

AEROSPIKE_ERR_INDEX_MAXCOUNT 

System already has maximum allowed indices.

AEROSPIKE_ERR_QUERY_ABORTED 

Query was aborted.

AEROSPIKE_ERR_QUERY_QUEUE_FULL 

Query processing queue is full.

AEROSPIKE_ERR_QUERY_TIMEOUT 

Secondary index query timed out on server.

AEROSPIKE_ERR_QUERY 

Generic query error.

AEROSPIKE_ERR_UDF_NOT_FOUND 

UDF does not exist.

AEROSPIKE_ERR_LUA_FILE_NOT_FOUND 

LUA file 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_TOPREC_UPDATE 

Error encountered while updating a TOP Record.

AEROSPIKE_ERR_LDT_TOPREC_CREATE 

Error encountered while creating a TOP 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 30 of file as_status.h.