|
libe3 0.2.5
C++ library for E3AP RAN vendor integration
|
Error codes returned by libe3 operations. More...
Macros | |
| #define | LIBE3_ERROR_CODE_LIST |
| X-macro list of all libe3 error codes. | |
Error codes returned by libe3 operations.
All libe3 API functions that can fail return either libe3::ErrorCode (C++ API) or e3_error_t (C API). A return value of 0 always means success; all error values are negative.
| #define LIBE3_ERROR_CODE_LIST |
X-macro list of all libe3 error codes.
Expand with #define X(name, val) ... before using this macro, and #undef X afterwards. Each entry exposes a symbolic name and its corresponding integer value.
| Name | Value | Meaning |
|---|---|---|
| SUCCESS | 0 | Operation completed successfully |
| INVALID_PARAM | -1 | One or more parameters are invalid |
| NOT_INITIALIZED | -2 | Component has not been initialized yet |
| ALREADY_INITIALIZED | -3 | Component is already initialized |
| NOT_CONNECTED | -4 | No active connection available |
| CONNECTION_FAILED | -5 | Failed to establish a connection |
| TIMEOUT | -6 | Operation timed out |
| ENCODE_FAILED | -7 | PDU encoding failed |
| DECODE_FAILED | -8 | PDU decoding failed |
| SM_NOT_FOUND | -9 | Requested Service Model was not found |
| SM_ALREADY_REGISTERED | -10 | Service Model is already registered |
| BUFFER_TOO_SMALL | -11 | Provided buffer is too small |
| INTERNAL_ERROR | -12 | Unexpected internal error |
| SUBSCRIPTION_EXISTS | -13 | Subscription already exists |
| SUBSCRIPTION_NOT_FOUND | -14 | Subscription was not found |
| DAPP_NOT_REGISTERED | -15 | Requested dApp is not registered |
| TRANSPORT_ERROR | -16 | Transport layer error |
| STATE_ERROR | -17 | Operation not valid in current state |
| SM_START_FAILED | -18 | Service Model failed to start |
| NOT_FOUND | -19 | Requested resource was not found |
| SM_ERROR_INVALID_PARAM | -20 | Service Model received invalid parameter |
| SM_ERROR_NOT_FOUND | -21 | Service Model resource not found |
| SM_ERROR_ALREADY_EXISTS | -22 | Service Model resource already exists |
| SM_ERROR_THREAD_FAILED | -23 | Service Model thread failed to start |
| SM_ERROR_MEMORY | -24 | Service Model memory allocation failure |
| CANCELLED | -25 | Operation was cancelled |
| GENERIC_ERROR | -100 | Unclassified generic error |
Definition at line 67 of file error_codes.h.