Error codes
This page provides a brief explanation of µC/LIB error codes defined in lib_def.h. Any error codes not listed here may be searched in lib_def.h for both their numerical value and usage.
Error codes list
Group | Code | Name | Description |
|---|---|---|---|
Generic | 0 |
| No error. |
Memory | 10000 |
| No error. |
10001 |
| Invalid null pointer argument. | |
10100 |
| Invalid memory size. | |
10101 |
| Invalid memory align (Must be a power of 2). | |
10110 |
| Invalid memory segment size. | |
10111 |
| Invalid memory segment overlaps another memory segment. | |
10112 |
| Invalid memory segment already exists. | |
10120 |
| Invalid memory pool. | |
10130 |
| Invalid block number. | |
10131 |
| Invalid block size. | |
10132 |
| Invalid block align (must be a power of 2). | |
10133 |
| Invalid block index. | |
10135 |
| Invalid block address. | |
10136 |
| Invalid block address already in pool. | |
10200 |
| Memory segment is empty. | |
10201 |
| Requested memory block would overflow memory segment. | |
10205 |
| Memory pool is full. | |
10206 |
| Memory pool is empty. | |
10207 |
| Memory pool has no specified limit. | |
10210 |
| Heap is empty. | |
10211 |
| Requested memory block would overflow heap. | |
10215 |
| Heap not found. |