Kolibri library – API Documentation

Header image

Main page


enum KolibriErr

Error code.

Enumeration data type indicating error codes Positive error codes are also used in the Kolibri protocol, negative error codes are used only inside the library.

Since
1.0.0
Last functional change:
1.1.0 Added KOLIBRI_ERR_RECIPIENT and moved KOLIBRI_ERR_PROTO to positive codes, because it may be returned by the Broker.
Enumerator
KOLIBRI_ERR_NO 

Success

KOLIBRI_ERR_GENERAL 

A general/unspecified error occurred.

KOLIBRI_ERR_OPCODE 

A frame with an invalid opcode was encountered.

KOLIBRI_ERR_OPTION 

A frame with an invalid option was encountered.

KOLIBRI_ERR_PROTO_VER 

The protocol versions of the Producer and the Broker did not match.

KOLIBRI_ERR_ACCESS 

Access to a certain node was denied.

KOLIBRI_ERR_PATH 

A frame with an invalid path was encountered.

KOLIBRI_ERR_NODE_TYPE 

A frame with an invalid node type was encountered.

KOLIBRI_ERR_NODE_IDX 

A frame with an invalid node index was encountered.

KOLIBRI_ERR_NODE_PROP 

A frame with an invalid node property was encountered.

KOLIBRI_ERR_NODE_STATE 

A frame with an invalid node state was encountered.

KOLIBRI_ERR_SEQ 

A frame with an invalid dequence number was encountered.

KOLIBRI_ERR_DATA_TYPE 

A frame with an invalid data type was encountered.

KOLIBRI_ERR_RECIPIENT 

An RPC request could not be forwarded to the given RPC server.

KOLIBRI_ERR_PROTO 

The protocol has been violated.

KOLIBRI_ERR_ARG_MISSING 

Missing parameter/argument

KOLIBRI_ERR_ARG 

Invalid parameter/argument

KOLIBRI_ERR_VAL 

Invalid value

KOLIBRI_ERR_ITEM_NOT_FOUND 

Item not found

KOLIBRI_ERR_ITEM_EXISTS 

Item already exists

KOLIBRI_ERR_INVALID 

Indicates the end of defined (positive) error codes.

KOLIBRI_ERR_MEM 

Out of memory

KOLIBRI_ERR_BUF 

A buffer was too small.
If the err field of a dataset shows this error code, the buffer provided for a string or byte array value was not large enough to store a received value. The value has been cut.

KOLIBRI_ERR_RESOURCE 

A resource - such as a task, semaphore, or list entry - is not available.

KOLIBRI_ERR_STATE 

If this error code is returned by a function, the respective function cannot be called in the current library state.
If the err field of a dataset shows this error code, the dataset has been assigned to a point, but by now no value has been transmitted for this point.

KOLIBRI_ERR_QUEUE 

A queue has overflown.

KOLIBRI_ERR_DATASET 

The given dataset has not been assigned to a point.

KOLIBRI_ERR_DNS 

The Broker's or proxy server's IP address could not be resolved.

KOLIBRI_ERR_SOCKET 

The socket could not be opened or a socket option could not be set.

KOLIBRI_ERR_CONNECT 

Could not connect to the Broker or to the proxy server.

KOLIBRI_ERR_TLS 

Could not establish the SSL session.

KOLIBRI_ERR_SEND 

Sending data to the Broker failed.

KOLIBRI_ERR_RECV 

Receiving data from the Broker failed.

KOLIBRI_ERR_TIMEOUT 

Reception of a reply from the Broker timed out.

KOLIBRI_ERR_PROXY 

Could not log-in to the proxy server.

KOLIBRI_ERR_LOGIN 

Could not login

KOLIBRI_ERR_RPC 

An RPC returned an error object.






Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated by Doxygen 1.8.10