nn::http::ResultCode Enumerated Type

Syntax

enum ResultCode;

Values

Value Description
ER_NONE No error.
ER_INVALID_STATUS Invalid status.
ER_INVALID_PARAM Invalid parameter.
ER_NOMEM Dynamic memory allocation failure.
ER_CREATE_EVENT Event generation failure.
ER_CREATE_MUTEX Mutex creation failure.
ER_CREATE_QUEUE Message queue creation failure.
ER_CREATE_THREAD Thread creation failure.
ER_CONNECTION_NOT_INITIALIZED Communication target not allocated.
ER_ALREADY_ASSIGN_HOST Communication target already allocated.
ER_SESSION IPC session invalid.
ER_CLIENT_PROCESS_MAX Number of clients equivalent to the maximum number of simultaneous client processes already being used.
ER_IPC_SESSION_MAX The maximum number of simultaneous IPC session connections are already connected. (Number of clients and number of connections are both already at the maximum.)
ER_TIMEOUT Timeout.
ER_ALREADY_INITIALIZED Library already initialized.
ER_NOT_INITIALIZED Library not yet initialized.
ER_MSGQ_SEND_LSN Failure sending to listener thread message queue.
ER_MSGQ_RECV_LSN Failure receiving from listener thread message queue.
ER_MSGQ_RECV_COMM Failure receiving from communication thread message queue.
ER_CONN_NOMORE Maximum number of registerable connection handles exceeded.
ER_CONN_NOSUCH No such connection handle.
ER_CONN_STATUS Connection handle status invalid.
ER_CONN_ADD Connection handle registration failure.
ER_CONN_CANCELED Connection handle canceled.
ER_CONN_HOST_MAX Maximum number of simultaneous connections to same host exceeded.
ER_CONN_PROCESS_MAX Maximum number of connections used by one process exceeded.
ER_REQ_URL Invalid URL.
ER_REQ_CONNMSG_PORT Invalid CONNECT send port number.
ER_REQ_UNKNOWN_METHOD Unknown method.
ER_RES_HEADER Invalid HTTP header.
ER_RES_NONEWLINE No newline in HTTP header.
ER_RES_BODYBUF HTTP body receive buffer error.
ER_RES_BODYBUF_SHORTAGE HTTP body receive buffer too small.
ER_POST_ADDED_ANOTHER Failure adding to POST data (different POST type already exists).
ER_POST_BOUNDARY Boundary cannot be properly set.
ER_POST_SEND POST request send failure.
ER_POST_UNKNOWN_ENCTYPE Unknown encoding type.
ER_POST_NODATA Send data not set.
ER_SSL SSL error.
ER_SSL_CERT_EXIST SSL certificate already set (must be deleted before re-registering).
ER_SSL_NO_CA_CERT_STORE No such SSL CA certificate store registered.
ER_SSL_NO_CLIENT_CERT No such SSL client certificate registered.
ER_SSL_CA_CERT_STORE_MAX Maximum number of simultaneously registerable SSL per-process CA certificate stores already registered.
ER_SSL_CLIENT_CERT_MAX Maximum number of simultaneously registerable SSL per-process client certificates already registered.
ER_SSL_FAIL_TO_CREATE_CERT_STORE Failed to create SSL certificate store.
ER_SSL_FAIL_TO_CREATE_CLIENT_CERT Failed to create SSL client certificate.
ER_SOC_DNS DNS name resolution failure.
ER_SOC_SEND Socket data send failure.
ER_SOC_RECV Socket data receive failure.
ER_SOC_CONN Socket connection failure.
ER_SOC_KEEPALIVE_DISCONNECTED Keep-Alive communications have been disconnected from the server side.
ER_GET_PROXY_SETTING Failed to get proxy value set by device.

Description

Function result codes. Stored as description elements in the Result returned from API functions.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL