Skip to content

File SolidSyslogBlockStoreErrors.h

FileList > Core > Interface > SolidSyslogBlockStoreErrors.h

Go to the source code of this file

Error codes and Source identity for the BlockStore.

  • #include "ExternC.h"

Public Types

Type Name
enum SolidSyslogBlockStoreErrors
Detail codes for events whose Source is BlockStoreErrorSource.

Public Attributes

Type Name
const struct SolidSyslogErrorSource BlockStoreErrorSource
The identity for events raised by a BlockStore.

Public Types Documentation

enum SolidSyslogBlockStoreErrors

Detail codes for events whose Source is BlockStoreErrorSource.

enum SolidSyslogBlockStoreErrors {
    BLOCKSTORE_ERROR_POOL_EXHAUSTED,
    BLOCKSTORE_ERROR_UNKNOWN_DESTROY,
    BLOCKSTORE_ERROR_BLOCK_TOO_SMALL,
    BLOCKSTORE_ERROR_MAX
};

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


Public Attributes Documentation

variable BlockStoreErrorSource

The identity for events raised by a BlockStore.

const struct SolidSyslogErrorSource BlockStoreErrorSource;

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



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