Description |
The global variable ucmErrno is defined in ucm.h
and is available to all programs using the UCM function
family. The
symbol names of all possible error codes are defined in the header ucm.h:
| Name |
Value |
Description |
| UE_SUCCESS |
0 |
Successful function call |
| UE_NOTINIT |
1 |
Not initialized |
| UE_INVALID |
2 |
Invalid argument |
| UE_BADSOCK |
3 |
Invalid socket descriptor |
| UE_BADMSG |
4 |
Invalid message |
| UE_NOMSG |
5 |
No message received |
| UE_HOST |
6 |
Invalid host |
| UE_SERVICE |
7 |
Invalid service |
| UE_CONNECT |
8 |
Connection error |
| UE_INTR |
9 |
Interrupted function call |
| UE_ULMREG |
20 |
Product not registered |
| UE_ULMEXP |
21 |
Product expired |
| UE_ULMBUSY |
22 |
Too many users |
| UE_ULMVERSION |
23 |
Version conflict |
| UE_NOMEM |
99 |
Allocation error |
In addition, the following return codes are defined:
| Name |
Value |
Description |
| UCM_SUCCESS |
0 |
Successful function call |
| UCM_ERROR |
-1 |
An error occurred, detailed description in ucmError |
|