File SolidSyslogErrorCategory.h¶
FileList > Core > Interface > SolidSyslogErrorCategory.h
The portable error-category axis: the universal lifecycle category macros and the per-role base ranges a handler switches on or an emit site picks.
#include <stdint.h>
Macro Definition Documentation¶
SOLIDSYSLOG_CAT_BAD_ARGUMENT¶
SOLIDSYSLOG_CAT_BAD_CONFIG¶
Portable error-category axis, the field a handler switches on without knowing the Source.
Categories are library-owned constants organised errno-domain style: a low universal-lifecycle range, then one base per role family (declared beside that role's *Definition.h, off the bases below as BASE + n), then a reserved integrator range. 0xC000 and above is reserved for integrator-defined roles so custom backends never collide.
The category constants carry their own (uint16_t) cast so emit sites stay clean. SolidSyslog_Error's category parameter is uint16_t, not an enum type, which is what lets integrator classes supply their own categories in the reserved range without being boxed into a library enum. Universal lifecycle categories, available to every source.
SOLIDSYSLOG_CAT_BUFFER_BASE¶
SOLIDSYSLOG_CAT_POOL_EXHAUSTED¶
SOLIDSYSLOG_CAT_RESOLVER_BASE¶
SOLIDSYSLOG_CAT_SECURITY_POLICY_BASE¶
SOLIDSYSLOG_CAT_SENDER_BASE¶
Per-role base ranges.
A role occupies [BASE, BASE + 0xFF]. A base is listed here only once a role family carries a role-specific category; roles that emit only the universal categories above need none. (0x0300 Stream is intentionally unallocated: that role emits only universal categories today.) The specific categories in each range live in SolidSyslog<Role>Categories.h beside that role's *Definition.h.
SOLIDSYSLOG_CAT_TLS_STREAM_BASE¶
SOLIDSYSLOG_CAT_UNKNOWN_DESTROY¶
The documentation for this class was generated from the following file Core/Interface/SolidSyslogErrorCategory.h