38#define STUMPLESS_FOREACH_ERROR(ERROR) \
44 ERROR(STUMPLESS_ADDRESS_FAILURE, 0) \
46 ERROR(STUMPLESS_ARGUMENT_EMPTY, 1) \
48 ERROR(STUMPLESS_ARGUMENT_TOO_BIG, 2) \
54 ERROR(STUMPLESS_DUPLICATE_ELEMENT, 3) \
60 ERROR(STUMPLESS_ELEMENT_NOT_FOUND, 4) \
62 ERROR(STUMPLESS_FILE_OPEN_FAILURE, 5) \
64 ERROR(STUMPLESS_FILE_WRITE_FAILURE, 6) \
66 ERROR(STUMPLESS_INDEX_OUT_OF_BOUNDS, 7) \
68 ERROR(STUMPLESS_INVALID_FACILITY, 8) \
70 ERROR(STUMPLESS_INVALID_ID, 9) \
76 ERROR(STUMPLESS_INVALID_SEVERITY, 10) \
78 ERROR(STUMPLESS_MEMORY_ALLOCATION_FAILURE, 11) \
80 ERROR(STUMPLESS_NETWORK_PROTOCOL_UNSUPPORTED, 12) \
86 ERROR(STUMPLESS_PARAM_NOT_FOUND, 13) \
88 ERROR(STUMPLESS_SOCKET_BIND_FAILURE, 14) \
90 ERROR(STUMPLESS_SOCKET_CONNECT_FAILURE, 15) \
92 ERROR(STUMPLESS_SOCKET_FAILURE, 16) \
94 ERROR(STUMPLESS_SOCKET_SEND_FAILURE, 17) \
96 ERROR(STUMPLESS_STREAM_WRITE_FAILURE, 18) \
98 ERROR(STUMPLESS_TARGET_INCOMPATIBLE, 19) \
100 ERROR(STUMPLESS_TARGET_UNSUPPORTED, 20) \
102 ERROR(STUMPLESS_TRANSPORT_PROTOCOL_UNSUPPORTED, 21) \
104 ERROR(STUMPLESS_WINDOWS_EVENT_LOG_CLOSE_FAILURE, 22) \
106 ERROR(STUMPLESS_WINDOWS_EVENT_LOG_OPEN_FAILURE, 23) \