Namespaces

Enumerations

enum class Error : int32_t
Name Value Comments
kInvalidArguments 1u

For example, the supplied metric id is invalid.

kEventTooBig 2u

An attempt was made to log an Event whose serialized size exceeds
MAX_BYTES_PER_EVENT.

kBufferFull 3u

The logger's local buffer is temporarily full and cannot handle any more
Events at this time. Try again later. This condition should be rare.

kShutDown 4u

The logger's local buffer is temporarily full and cannot handle any more
Events at this time. Try again later. This condition should be rare.

kInternalError -1

Catch-all for unexpected errors.

Error codes for MetricEventLogger operations.

Defined at line 18 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/common_types.h

Records