CIGI API Version 2.7.1 
CIGI API : Users' Guide
Reference : CIGI Error Codes

References

CIGI Error Codes

The following table lists the defined error codes returned by CIGI functions, the numerical value, and a description.

Table : Error Code Reference
Value
Defined
Description
0
CIGI_SUCCESS
No error has occurred.
0
CIGI_ERROR_NONE
No error has occurred. This is equivalent to the CIGI_SUCCESS code.
-1
CIGI_ERROR_MISCELLANEOUS
A general error has occurred, with no additional information given.
-2
CIGI_ERROR_UNEXPECTED_NULL
A NULL value was encountered when not expected.
-3
CIGI_ERROR_BUFFER_OVERRUN
Out of buffer space. There is no room to add additional exists in the current and reserve buffers, because they are full.
-4
CIGI_ERROR_CALLED_OUT_OF_SEQUENCE
A method has been called out of sequence.
-5
CIGI_ERROR_INVALID_PACKET
A pointer has been encountered that does not reference a valid packet.
-6
CIGI_ERROR_INVALID_OPCODE
A packet has been encountered that does not contain a valid opcode.
-7
CIGI_ERROR_ALLOC_FAILED
A memory allocation has failed.
-8
CIGI_ERROR_BUFFER_TOO_SMALL
The buffer size requested is smaller than the minimum size to send CIGI messages.
-9
CIGI_ERROR_MAX_SESSIONS
The creation of a session exceeds the maximum number of sessions specified.
-10
CIGI_ERROR_INVALID_SESSION
The session ID given is invalid.
-11
CIGI_ERROR_INVALID_SESSION_TYPE
An operation has been attempted for the wrong type of session.
-12
CIGI_ERROR_MISSING_IG_CONTROL_PACKET
A CIGI_IG_CONTROL packet is required, but has not been added to the outgoing message.
-13
CIGI_ERROR_MISSING_SOF_PACEKT
A CIGI_START_OF_FRAME packet is required, but has not been added to the outgoing message.
-14
CIGI_ERROR_NOT_IMPLEMENTED
The method requested has been added to the interface but has no implementation.
-15
CIGI_ERROR_PACKET_TOO_LARGE
A packet encoutered is larger than the maximum allowable packet size, defined by the CIGI_MAX_PACKET_SIZE preprocessor definition. This is applicable for packets that are not fixed in size.
-15
CIGI_ERROR_INVALID_PACKET_SIZE
The defined packet size does not match the size of the actual packet (using the sizeof operator), when checking that the two match during initialization.
SourceForge LogoBoeing
******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ******** ********