Error codes for the ADAS library
Synopsis:
#include <adas/adas_api.h>
typedef enum {
ADAS_EOK = EOK,
ADAS_ENOTSUP = ENOTSUP,
ADAS_ENODEV = ENODEV,
ADAS_ENOMEM = ENOMEM,
ADAS_EIO = EIO,
ADAS_ETIMEDOUT = ETIMEDOUT,
ADAS_EBUSY = EBUSY,
ADAS_EFAILURE = 0x1000,
ADAS_EPARAM = 0x1001,
ADAS_EREFCOUNT = 0x1002
} adas_error_t;
Data:
- ADAS_EOK
- The function call completed successfully.
- ADAS_ENOTSUP
- The function call failed because the requested operation isn't supported.
- ADAS_ENODEV
- The function call failed because the specified entity wasn't found.
- ADAS_ENOMEM
- The function call failed because memory allocation failed.
- ADAS_EIO
- The function call failed because of an input or output error.
This typically happens when a file I/O operation has failed.
- ADAS_ETIMEDOUT
- The function call failed due to a timeout waiting for an operation to complete.
- ADAS_EBUSY
- The function call failed because the specified entity is busy.
- ADAS_EFAILURE
- The function call failed due to an unexpected failure.
- ADAS_EPARAM
- The function call failed due to invalid parameters being specified.
- ADAS_EREFCOUNT
- The function call failed due to trying to free up an object that is still being referenced.
Library:
libadas