Module: aerospike/status

Database operation error codes.

Source:

Members


<static, constant> ERR_ALWAYS_FORBIDDEN :number

Client is attempting an operation which is not allowed under current configuration.

Type:
  • number
Source:

<static, constant> ERR_ASYNC_CONNECTION :number

Asynchronous connection error.

Type:
  • number
Source:

<static, constant> ERR_ASYNC_QUEUE_FULL :number

Async command delay queue is full.

Type:
  • number
Source:

<static, constant> ERR_BATCH_DISABLED :number

Batch functionality has been disabled.

Type:
  • number
Source:

<static, constant> ERR_BATCH_MAX_REQUESTS_EXCEEDED :number

Batch max. requests have been exceeded.

Type:
  • number
Source:

<static, constant> ERR_BATCH_QUEUES_FULL :number

All batch queues are full.

Type:
  • number
Source:

<static, constant> ERR_BIN_EXISTS :number

Bin already exists on a create-only operation.

Type:
  • number
Source:

<static, constant> ERR_BIN_INCOMPATIBLE_TYPE :number

Bin modification operation cannot be done on an existing bin due to its value type.

Type:
  • number
Source:

<static, constant> ERR_BIN_NAME :number

Sent too-long bin name or exceeded namespace's bin name quota.

Type:
  • number
Source:

<static, constant> ERR_BIN_NOT_FOUND :number

Bin not found on update-only operation.

Type:
  • number
Source:

<static, constant> ERR_CLIENT :number

Generic client API usage error.

Type:
  • number
Source:

<static, constant> ERR_CLIENT_ABORT :number

Query or scan was aborted in user's callback.

Type:
  • number
Source:

<static, constant> ERR_CLUSTER :number

Generic cluster discovery & connection error.

Type:
  • number
Source:

<static, constant> ERR_CLUSTER_CHANGE :number

A cluster state change occurred during the request.

Type:
  • number
Source:

<static, constant> ERR_CONNECTION :number

Synchronous connection error.

Type:
  • number
Source:

<static, constant> ERR_DEVICE_OVERLOAD :number

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

Type:
  • number
Source:

<static, constant> ERR_ENTERPRISE_ONLY :number

Attempt to use an Enterprise feature on a Community server or a server without the applicable feature key.

Type:
  • number
Source:

<static, constant> ERR_FAIL_ELEMENT_EXISTS :number

Map/list element exists in CREATE_ONLY write mode.

Type:
  • number
Source:

<static, constant> ERR_FAIL_ELEMENT_NOT_FOUND :number

Map/list element not found in UPDATE_ONLY write mode.

Type:
  • number
Source:

<static, constant> ERR_FAIL_FORBIDDEN :number

Operation not allowed at this time.

Type:
  • number
Source:

<static, constant> ERR_GEO_INVALID_GEOJSON :number

Invalid/unsupported GeoJSON.

Type:
  • number
Source:

<static, constant> ERR_INDEX :number

Generic secondary index error.

Type:
  • number
Source:

<static, constant> ERR_INDEX_FOUND :number

Index found.

Type:
  • number
Source:

<static, constant> ERR_INDEX_MAXCOUNT :number

System alrady has maximum allowed indeces.

Type:
  • number
Source:

<static, constant> ERR_INDEX_NAME_MAXLEN :number

Index name is too long.

Type:
  • number
Source:

<static, constant> ERR_INDEX_NOT_FOUND :number

Index not found.

Type:
  • number
Source:

<static, constant> ERR_INDEX_NOT_READABLE :number

Unable to read the index.

Type:
  • number
Source:

<static, constant> ERR_INDEX_OOM :number

Index is out of memory.

Type:
  • number
Source:

<static, constant> ERR_INVALID_HOST :number

Host name could not be found in DNS lookup.

Type:
  • number
Source:

<static, constant> ERR_INVALID_NODE :number

Node invalid or could not be found.

Type:
  • number
Source:

<static, constant> ERR_LUA_FILE_NOT_FOUND :number

LUA file does not exist.

Type:
  • number
Source:

<static, constant> ERR_NAMESPACE_NOT_FOUND :number

Namespace in request not found on server.

Type:
  • number
Source:

<static, constant> ERR_NO_MORE_CONNECTIONS :number

Asynchronous connection error.

Type:
  • number
Source:

<static, constant> ERR_OP_NOT_APPLICABLE :number

The operation cannot be applied to the current bin value on the server.

Type:
  • number
Source:

<static, constant> ERR_PARAM :number

Invalid client API parameter.

Type:
  • number
Source:

<static, constant> ERR_QUERY :number

Generic query error.

Type:
  • number
Source:

<static, constant> ERR_QUERY_ABORTED :number

Query was aborted.

Type:
  • number
Source:

<static, constant> ERR_QUERY_QUEUE_FULL :number

Query processing queue is full.

Type:
  • number
Source:

<static, constant> ERR_QUERY_TIMEOUT :number

Secondary index query timed out on server.

Type:
  • number
Source:

<static, constant> ERR_RECORD_BUSY :number

Too many concurrent requests for one record - a 'hot key' situation.

Type:
  • number
Source:

<static, constant> ERR_RECORD_EXISTS :number

Record already exists. May be returned by write with policy Aerospike.policy.exists.CREATE.

Type:
  • number
Source:

<static, constant> ERR_RECORD_GENERATION :number

Generation of record in database does not satisfy write policy.

Type:
  • number
Source:

<static, constant> ERR_RECORD_KEY_MISMATCH :number

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

Type:
  • number
Source:

<static, constant> ERR_RECORD_NOT_FOUND :number

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

Type:
  • number
Source:

<static, constant> ERR_RECORD_TOO_BIG :number

Record being (re-)written cannot fit in a storage write block.

Type:
  • number
Source:

<static, constant> ERR_REQUEST_INVALID :number

Request protocol invalid, or invalid protocol field.

Type:
  • number
Source:

<static, constant> ERR_SCAN_ABORTED :number

Scan aborted by user.

Type:
  • number
Source:

<static, constant> ERR_SERVER :number

Generic error returned by the server.

Type:
  • number
Source:

<static, constant> ERR_SERVER_FULL :number

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

Type:
  • number
Source:

<static, constant> ERR_TIMEOUT :number

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

Type:
  • number
Source:

<static, constant> ERR_UDF :number

Generic UDF error.

Type:
  • number
Source:

<static, constant> ERR_UDF_NOT_FOUND :number

UDF does not exist.

Type:
  • number
Source:

<static, constant> ERR_UNSUPPORTED_FEATURE :number

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).

Type:
  • number
Source:

<static, constant> EXPIRED_PASSWORD :number

Password has expired.

Type:
  • number
Source:

<static, constant> FILTERED_OUT :number

The transaction was not performed because the predexp was false.

Type:
  • number
Source:

<static, constant> FORBIDDEN_PASSWORD :number

Forbidden password (e.g. recently used).

Type:
  • number
Source:

<static, constant> ILLEGAL_STATE :number

Security protocol not followed.

Type:
  • number
Source:

<static, constant> INVALID_COMMAND :number

Administration command is invalid.

Type:
  • number
Source:

<static, constant> INVALID_CREDENTIAL :number

Security credential is invalid.

Type:
  • number
Source:

<static, constant> INVALID_FIELD :number

Administration field is invalid.

Type:
  • number
Source:

<static, constant> INVALID_PASSWORD :number

Password is invalid.

Type:
  • number
Source:

<static, constant> INVALID_PRIVILEGE :number

Privilege is invalid.

Type:
  • number
Source:

<static, constant> INVALID_ROLE :number

Role name is invalid.

Type:
  • number
Source:

<static, constant> INVALID_USER :number

User name is invalid.

Type:
  • number
Source:

<static, constant> NO_MORE_RECORDS :number

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

Type:
  • number
Source:

<static, constant> NOT_AUTHENTICATED :number

User must be authenticated before performing database operations.

Type:
  • number
Source:

<static, constant> OK :number

Generic success.

Type:
  • number
Source:

<static, constant> QUERY_END :number

There are no more records left for query.

Type:
  • number
Source:

<static, constant> ROLE_ALREADY_EXISTS :number

Role name already exists.

Type:
  • number
Source:

<static, constant> ROLE_VIOLATION :number

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

Type:
  • number
Source:

<static, constant> SECURITY_NOT_ENABLED :number

Security functionality not enabled by connected server.

Type:
  • number
Source:

<static, constant> SECURITY_NOT_SUPPORTED :number

Security functionality not supported by connected server.

Type:
  • number
Source:

<static, constant> SECURITY_SCHEME_NOT_SUPPORTED :number

Security type not supported by connected server.

Type:
  • number
Source:

<static, constant> USER_ALREADY_EXISTS :number

User was previously created.

Type:
  • number
Source:

Methods


<static> getMessage()

Prodeces a human-readable error message for the given status code.

Source: