ResultCode Class

Database operation error codes.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.4.0.0 (5.4.0)
C#
public sealed class ResultCode
Inheritance
Object    ResultCode

Constructors

ResultCodeInitializes a new instance of the ResultCode class

Methods

GetResultString Return result code as a string.
KeepConnection Should connection be put back into pool.

Fields

ALWAYS_FORBIDDEN Operation not allowed in current configuration.
BATCH_DISABLED Batch functionality has been disabled.
BATCH_FAILED One or more keys failed in a batch.
BATCH_MAX_REQUESTS_EXCEEDED Batch max requests have been exceeded.
BATCH_QUEUES_FULL All batch queues are full.
BIN_EXISTS_ERROR Bin already exists on a create-only operation.
BIN_NAME_TOO_LONG Bin name length greater than 15 characters or maximum bins exceeded.
BIN_NOT_FOUND Bin not found on update-only operation.
BIN_TYPE_ERROR Operation is not supported with configured bin type (single-bin or multi-bin).
CLIENT_ERROR Client generic error.
CLUSTER_KEY_MISMATCH Expected cluster was not received.
COMMAND_REJECTED Asynchronous max concurrent database commands have been exceeded and therefore rejected.
DEVICE_OVERLOAD Device not keeping up with writes.
ELEMENT_EXISTS Map element exists in CREATE_ONLY write mode.
ELEMENT_NOT_FOUND Map element not found in UPDATE_ONLY write mode.
ENTERPRISE_ONLY Attempt to use an Enterprise feature on a Community server or a server without the applicable feature key.
EXPIRED_PASSWORD Password has expired.
EXPIRED_SESSION Login session expired.
FAIL_FORBIDDEN Operation not allowed at this time.
FILTERED_OUT The transaction was not performed because the filter was false.
FORBIDDEN_PASSWORD Forbidden password (e.g. recently used)
GENERATION_ERROR On modifying a record with unexpected generation.
ILLEGAL_STATE Server is in illegal stage.
INDEX_ALREADY_EXISTS Secondary index already exists.
INDEX_FOUND 
INDEX_GENERIC Generic secondary index error.
INDEX_MAXCOUNT Maximum number of indicies exceeded.
INDEX_NAME_MAXLEN Index name maximum length exceeded.
INDEX_NOTFOUND Requested secondary index does not exist.
INDEX_NOTREADABLE Secondary index not available.
INDEX_OOM Secondary index memory space exceeded.
INVALID_COMMAND Administration command is invalid.
INVALID_CREDENTIAL Security credential is invalid.
INVALID_FIELD Administration field is invalid.
INVALID_NAMESPACE Invalid namespace.
INVALID_NODE_ERROR Chosen node is not currently active.
INVALID_PASSWORD Password is invalid.
INVALID_PRIVILEGE Specified Privilege is not valid.
INVALID_QUOTA Invalid quota value.
INVALID_ROLE Role name is invalid.
INVALID_USER User name is invalid.
INVALID_WHITELIST Invalid IP address whitelist.
KEY_BUSY Too many concurrent operations on the same record.
KEY_EXISTS_ERROR On create-only (write unique) operations on a record that already exists.
KEY_MISMATCH Key type mismatch.
KEY_NOT_FOUND_ERROR On retrieving, touching or replacing a record that doesn't exist.
LOST_CONFLICT Write command loses conflict to XDR.
MAX_ERROR_RATE Max errors limit reached.
MAX_RETRIES_EXCEEDED Max retries limit reached.
NO_MORE_CONNECTIONS Max connections would be exceeded. There are no more available connections.
NO_RESPONSE No response received from server.
NOT_AUTHENTICATED User must be authentication before performing database operations.
NOT_WHITELISTED Command not allowed because sender IP address not whitelisted.
OK Operation was successful.
OP_NOT_APPLICABLE The operation cannot be applied to the current bin value on the server.
PARAMETER_ERROR Bad parameter(s) were passed in database operation call.
PARSE_ERROR Client parse error.
PARTITION_UNAVAILABLE Partition unavailable.
QUERY_ABORTED Secondary index query aborted.
QUERY_END There are no more records left for query.
QUERY_GENERIC Generic query error.
QUERY_QUEUEFULL Secondary index queue full.
QUERY_TERMINATED Query was terminated by user.
QUERY_TIMEOUT Secondary index query timed out on server.
QUOTA_EXCEEDED Quota exceeded.
QUOTAS_NOT_ENABLED Quotas not enabled on server.
RECORD_TOO_BIG Record size exceeds limit.
ROLE_ALREADY_EXISTS Role already exists.
ROLE_VIOLATION User does not posses the required role to perform the database operation.
SCAN_ABORT Scan aborted by server.
SCAN_TERMINATED Scan was terminated by user.
SECURITY_NOT_ENABLED Security functionality supported, but not enabled by connected server.
SECURITY_NOT_SUPPORTED Security functionality not supported by connected server.
SECURITY_SCHEME_NOT_SUPPORTED Security configuration not supported.
SERIALIZE_ERROR Client serialization error.
SERVER_ERROR Unknown server failure.
SERVER_MEM_ERROR Server has run out of memory.
SERVER_NOT_AVAILABLE Server is not accepting requests.
TIMEOUT Client or server has timed out.
UDF_BAD_RESPONSE A user defined function returned an error code.
UNSUPPORTED_FEATURE Client operation not supported on connected server.
USER_ALREADY_EXISTS User was previously created.

See Also