File SolidSyslogResolverErrors.h¶
FileList > Core > Interface > SolidSyslogResolverErrors.h
Portable detail codes for the Resolver role, shared by every backend that fills it.
#include "SolidSyslogExternC.h"
Public Types Documentation¶
SolidSyslogResolverErrors¶
Detail codes a Resolver role implementation reports through event->Detail, shared by every backend whichever platform provides it.
enum SolidSyslogResolverErrors {
SOLIDSYSLOG_RESOLVER_ERROR_POOL_EXHAUSTED,
SOLIDSYSLOG_RESOLVER_ERROR_UNKNOWN_DESTROY,
SOLIDSYSLOG_RESOLVER_ERROR_RESOLVE_TIMEOUT,
SOLIDSYSLOG_RESOLVER_ERROR_NULL_CONFIG,
SOLIDSYSLOG_RESOLVER_ERROR_NULL_SLEEP,
SOLIDSYSLOG_RESOLVER_ERROR_MAX
};
A handler that matches on these reacts to a fault identically whichever backend produced it, and keeps working when the backend is swapped.
event->Source still names the backend that spoke, for diagnosis. Which of these codes a given backend can raise is a property of that backend and is stated on its own page; a code it never raises is simply one a handler never sees.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogResolverErrors.h