|
LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
Well-defined error and success codes used by LibJuno. More...

Macros | |
| #define | JUNO_STATUS_SUCCESS 0 |
| Operation completed successfully. | |
| #define | JUNO_STATUS_ERR 1 |
| Unspecified error. | |
| #define | JUNO_STATUS_NULLPTR_ERROR 2 |
| A required pointer argument was NULL or invalid. | |
| #define | JUNO_STATUS_MEMALLOC_ERROR 3 |
| Memory allocation failed (hosted or platform-specific allocator). | |
| #define | JUNO_STATUS_MEMFREE_ERROR 4 |
| Memory free operation failed or was invalid. | |
| #define | JUNO_STATUS_INVALID_TYPE_ERROR 5 |
| Provided type or trait did not match the expected one. | |
| #define | JUNO_STATUS_INVALID_SIZE_ERROR 6 |
| Provided size or alignment was invalid or unsupported. | |
| #define | JUNO_STATUS_TABLE_FULL_ERROR 7 |
| A fixed-capacity table/structure was full. | |
| #define | JUNO_STATUS_DNE_ERROR 8 |
| Requested element or key did not exist. | |
| #define | JUNO_STATUS_FILE_ERROR 9 |
| Generic file I/O error on hosted platforms. | |
| #define | JUNO_STATUS_READ_ERROR 10 |
| Read operation failed or returned less than requested. | |
| #define | JUNO_STATUS_WRITE_ERROR 11 |
| Write operation failed or returned less than requested. | |
| #define | JUNO_STATUS_CRC_ERROR 12 |
| CRC check failed or a CRC value was invalid. | |
| #define | JUNO_STATUS_INVALID_REF_ERROR 13 |
| A reference identifier or handle was invalid. | |
| #define | JUNO_STATUS_REF_IN_USE_ERROR 14 |
| Resource cannot be freed while references are still active. | |
| #define | JUNO_STATUS_INVALID_DATA_ERROR 15 |
| Input data failed validation. | |
| #define | JUNO_STATUS_TIMEOUT_ERROR 16 |
| Operation timed out. | |
| #define | JUNO_STATUS_OOB_ERROR 17 |
| Index or pointer was out of bounds. | |
Well-defined error and success codes used by LibJuno.
| #define JUNO_STATUS_CRC_ERROR 12 |
CRC check failed or a CRC value was invalid.
| #define JUNO_STATUS_DNE_ERROR 8 |
Requested element or key did not exist.
| #define JUNO_STATUS_ERR 1 |
Unspecified error.
| #define JUNO_STATUS_FILE_ERROR 9 |
Generic file I/O error on hosted platforms.
| #define JUNO_STATUS_INVALID_DATA_ERROR 15 |
Input data failed validation.
| #define JUNO_STATUS_INVALID_REF_ERROR 13 |
A reference identifier or handle was invalid.
| #define JUNO_STATUS_INVALID_SIZE_ERROR 6 |
Provided size or alignment was invalid or unsupported.
| #define JUNO_STATUS_INVALID_TYPE_ERROR 5 |
Provided type or trait did not match the expected one.
| #define JUNO_STATUS_MEMALLOC_ERROR 3 |
Memory allocation failed (hosted or platform-specific allocator).
| #define JUNO_STATUS_MEMFREE_ERROR 4 |
Memory free operation failed or was invalid.
| #define JUNO_STATUS_NULLPTR_ERROR 2 |
A required pointer argument was NULL or invalid.
| #define JUNO_STATUS_OOB_ERROR 17 |
Index or pointer was out of bounds.
| #define JUNO_STATUS_READ_ERROR 10 |
Read operation failed or returned less than requested.
| #define JUNO_STATUS_REF_IN_USE_ERROR 14 |
Resource cannot be freed while references are still active.
| #define JUNO_STATUS_SUCCESS 0 |
Operation completed successfully.
| #define JUNO_STATUS_TABLE_FULL_ERROR 7 |
A fixed-capacity table/structure was full.
| #define JUNO_STATUS_TIMEOUT_ERROR 16 |
Operation timed out.
| #define JUNO_STATUS_WRITE_ERROR 11 |
Write operation failed or returned less than requested.