libamxb
4.8.2
Bus Agnostic C API
|
Error code defines. More...
Go to the source code of this file.
Macros | |
#define | AMXB_ERROR_UNKNOWN -1 |
Unknown error. More... | |
#define | AMXB_STATUS_OK 0 |
All ok. More... | |
#define | AMXB_ERROR_INTERNAL 1 |
Internal error. More... | |
#define | AMXB_ERROR_INVALID_URI 2 |
Invalid URI. More... | |
#define | AMXB_ERROR_NOT_SUPPORTED_SCHEME 3 |
URI scheme not supported. More... | |
#define | AMXB_ERROR_NOT_SUPPORTED_OP 4 |
Function/operation not supported. More... | |
#define | AMXB_ERROR_OP_IN_PROGRESS 5 |
Operation in progress. More... | |
#define | AMXB_ERROR_INVALID_FD 6 |
Invalid file descriptor. More... | |
#define | AMXB_ERROR_BACKEND_FAILED 7 |
Back-end failed. More... | |
#define | AMXB_ERROR_MAX 8 |
#define | AMXB_ERROR_BUS_INVALID_CMDS amxd_status_unknown_error |
#define | AMXB_ERROR_BUS_INVALID_ARG amxd_status_invalid_arg |
#define | AMXB_ERROR_BUS_METHOD_NOT_FOUND amxd_status_function_not_found |
#define | AMXB_ERROR_BUS_NOT_FOUND amxd_status_object_not_found |
#define | AMXB_ERROR_BUS_NO_DATA amxd_status_unknown_error |
#define | AMXB_ERROR_BUS_PERMISSION_DENIED amxd_status_permission_denied |
#define | AMXB_ERROR_BUS_TIMEOUT amxd_status_timeout |
#define | AMXB_ERROR_BUS_NOT_SUPPORTED amxd_status_not_supported |
#define | AMXB_ERROR_BUS_CONNECTION_FAILED amxd_status_unknown_error |
#define | AMXB_ERROR_BUS_UNKNOWN amxd_status_unknown_error |
Functions | |
const char * | amxb_get_error (int error) |
Error code defines.
Definition in file amxb_error.h.
#define AMXB_ERROR_BUS_CONNECTION_FAILED amxd_status_unknown_error |
Definition at line 159 of file amxb_error.h.
#define AMXB_ERROR_BUS_INVALID_ARG amxd_status_invalid_arg |
Definition at line 152 of file amxb_error.h.
#define AMXB_ERROR_BUS_INVALID_CMDS amxd_status_unknown_error |
The following error codes are deprecated.
Use amxd_status_t enumeration values instead.
These are the original defines.
#define AMXB_ERROR_BUS_INVALID_CMDS 20 #define AMXB_ERROR_BUS_INVALID_ARG 21 #define AMXB_ERROR_BUS_METHOD_NOT_FOUND 22 #define AMXB_ERROR_BUS_NOT_FOUND 23 #define AMXB_ERROR_BUS_NO_DATA 24 #define AMXB_ERROR_BUS_PERMISSION_DENIED 25 #define AMXB_ERROR_BUS_TIMEOUT 26 #define AMXB_ERROR_BUS_NOT_SUPPORTED 27 #define AMXB_ERROR_BUS_CONNECTION_FAILED 28 #define AMXB_ERROR_BUS_UNKNOWN 29
Definition at line 151 of file amxb_error.h.
#define AMXB_ERROR_BUS_METHOD_NOT_FOUND amxd_status_function_not_found |
Definition at line 153 of file amxb_error.h.
#define AMXB_ERROR_BUS_NO_DATA amxd_status_unknown_error |
Definition at line 155 of file amxb_error.h.
#define AMXB_ERROR_BUS_NOT_FOUND amxd_status_object_not_found |
Definition at line 154 of file amxb_error.h.
#define AMXB_ERROR_BUS_NOT_SUPPORTED amxd_status_not_supported |
Definition at line 158 of file amxb_error.h.
#define AMXB_ERROR_BUS_PERMISSION_DENIED amxd_status_permission_denied |
Definition at line 156 of file amxb_error.h.
#define AMXB_ERROR_BUS_TIMEOUT amxd_status_timeout |
Definition at line 157 of file amxb_error.h.
#define AMXB_ERROR_BUS_UNKNOWN amxd_status_unknown_error |
Definition at line 160 of file amxb_error.h.
#define AMXB_ERROR_MAX 8 |
Definition at line 130 of file amxb_error.h.
const char* amxb_get_error | ( | int | error | ) |
Definition at line 70 of file amxb_error.c.