memcached_return_t - Return type values
Contents
Name
memcached_return_t - Return type values
See Also
memcached(1)libmemcached(3)memcached_strerror(3)
1.1 Mar 31, 2024 MEMCACHED_RETURN_T(3)
Synopsis
#include<libmemcached/memcached.h>
Compile and link with -lmemcached
boolmemcached_success(memcached_return_trc)boolmemcached_continue(memcached_return_trc)boolmemcached_failed(memcached_return_trc)boolmemcached_fatal(memcached_return_trc)typedefenummemcached_return_tmemcached_return_tenummemcached_return_tenumeratorMEMCACHED_AUTH_CONTINUE
Authentication has been paused.
enumeratorMEMCACHED_AUTH_FAILURE
The credentials provided are not valid for this server.
enumeratorMEMCACHED_AUTH_PROBLEM
An unknown issue has occurred during authentication.
enumeratorMEMCACHED_BAD_KEY_PROVIDED
The key provided is not a valid key.
enumeratorMEMCACHED_BUFFERED
The request has been buffered.
enumeratorMEMCACHED_CLIENT_ERROR
An unknown client error has occurred internally.
enumeratorMEMCACHED_CONNECTION_BIND_FAILURE
Deprecated since version <0.30.
We were not able to bind() to the socket.
enumeratorMEMCACHED_CONNECTION_FAILURE
A unknown error has occurred while trying to connect to a server.
enumeratorMEMCACHED_CONNECTION_SOCKET_CREATE_FAILURE
Deprecated since version <0.30.
An error has occurred while trying to connect to a server. It is likely that either the
number of file descriptors need to be increased or you are out of memory.
enumeratorMEMCACHED_DATA_DOES_NOT_EXIST
The data requested with the key given was not found.
enumeratorMEMCACHED_DATA_EXISTS
The data requested with the key given was not found.
enumeratorMEMCACHED_DELETED
The object requested by the key has been deleted.
enumeratorMEMCACHED_DEPRECATED
The method that was requested has been deprecated.
enumeratorMEMCACHED_E2BIG
Item is too large for the server to store.
enumeratorMEMCACHED_END
The server has completed returning all of the objects requested.
enumeratorMEMCACHED_ERRNO
An error has occurred in the driver which has set errno.
enumeratorMEMCACHED_FAIL_UNIX_SOCKET
A connection was not established with the server via a unix domain socket.
enumeratorMEMCACHED_FAILURE
Deprecated since version <0.30.
A unknown failure has occurred in the server.
enumeratorMEMCACHED_FETCH_NOTFINISHED
A request has been made, but the server has not finished the fetch of the last request.
enumeratorMEMCACHED_HOST_LOOKUP_FAILURE
A DNS failure has occurred.
enumeratorMEMCACHED_INVALID_ARGUMENTS
The arguments supplied to the given function were not valid.
enumeratorMEMCACHED_INVALID_HOST_PROTOCOL
The server you are connecting too has an invalid protocol. Most likely you are connecting
to an older server that does not speak the binary protocol.
enumeratorMEMCACHED_ITEM
An item has been fetched (this is an internal error only).
enumeratorMEMCACHED_KEY_TOO_BIG
The key that has been provided is too large for the given server.
enumeratorMEMCACHED_MAXIMUM_RETURN
This in an internal only state.
enumeratorMEMCACHED_MEMORY_ALLOCATION_FAILURE
An error has occurred while trying to allocate memory.
enumeratorMEMCACHED_NO_KEY_PROVIDED
Deprecated since version <0.30: Use MEMCACHED_BAD_KEY_PROVIDED instead.
No key was provided.
enumeratorMEMCACHED_NO_SERVERS
No servers have been added to the memcached_st object.
enumeratorMEMCACHED_NOTFOUND
The object requested was not found.
enumeratorMEMCACHED_NOTSTORED
The request to store an object failed.
enumeratorMEMCACHED_NOT_SUPPORTED
The given method is not supported in the server.
enumeratorMEMCACHED_PARSE_ERROR
An error has occurred while trying to parse the configuration string. You should use
memparse to determine what the error was.
enumeratorMEMCACHED_PARSE_USER_ERROR
An error has occurred in parsing the configuration string.
enumeratorMEMCACHED_PARTIAL_READ
The read was only partially successful.
enumeratorMEMCACHED_PROTOCOL_ERROR
An unknown error has occurred in the protocol.
enumeratorMEMCACHED_READ_FAILURE
A read failure has occurred.
enumeratorMEMCACHED_SERVER_ERROR
An unknown error has occurred in the server.
enumeratorMEMCACHED_SERVER_MARKED_DEAD
The requested server has been marked dead.
enumeratorMEMCACHED_SOME_ERRORS
A multi request has been made, and some undetermined number of errors have occurred.
enumeratorMEMCACHED_STAT
A "stat" command has been returned in the protocol.
enumeratorMEMCACHED_STORED
The requested object has been successfully stored on the server.
enumeratorMEMCACHED_SUCCESS
The request was successfully executed.
enumeratorMEMCACHED_TIMEOUT
Operation has timed out.
enumeratorMEMCACHED_UNKNOWN_READ_FAILURE
An unknown read failure only occurs when either there is a bug in the server, or in rare
cases where an ethernet nic is reporting dubious information.
enumeratorMEMCACHED_UNKNOWN_STAT_KEY
The server you are communicating with has a stat key which has not be defined in the
protocol.
enumeratorMEMCACHED_VALUE
A value has been returned from the server (this is an internal condition only).
enumeratorMEMCACHED_WRITE_FAILURE
An error has occurred while trying to write to a server.
