Skip to content

File SolidSyslogSwitchingSenderErrors.h

FileList > Core > Interface > SolidSyslogSwitchingSenderErrors.h

Go to the source code of this file

Error codes and Source identity for the SwitchingSender.

  • #include "ExternC.h"

Public Types

Type Name
enum SolidSyslogSwitchingSenderErrors
Detail codes for events whose Source is SwitchingSenderErrorSource.

Public Attributes

Type Name
const struct SolidSyslogErrorSource SwitchingSenderErrorSource
The identity for events raised by a SwitchingSender.

Public Types Documentation

enum SolidSyslogSwitchingSenderErrors

Detail codes for events whose Source is SwitchingSenderErrorSource.

enum SolidSyslogSwitchingSenderErrors {
    SWITCHINGSENDER_ERROR_NULL_CONFIG,
    SWITCHINGSENDER_ERROR_NULL_SENDERS,
    SWITCHINGSENDER_ERROR_NULL_SELECTOR,
    SWITCHINGSENDER_ERROR_POOL_EXHAUSTED,
    SWITCHINGSENDER_ERROR_UNKNOWN_DESTROY,
    SWITCHINGSENDER_ERROR_MAX
};

A handler reads these off event->Detail after matching event->Source; the members name their own fault.


Public Attributes Documentation

variable SwitchingSenderErrorSource

The identity for events raised by a SwitchingSender.

const struct SolidSyslogErrorSource SwitchingSenderErrorSource;

A handler matches by address (event->Source == &SwitchingSenderErrorSource), then reads event->Detail as an enum SolidSyslogSwitchingSenderErrors.



The documentation for this class was generated from the following file Core/Interface/SolidSyslogSwitchingSenderErrors.h