Lightweight 0.20261105.1
Loading...
Searching...
No Matches
Lightweight::SqlBackup::FailureReason Struct Reference

One distinct failure cause of a table, with its occurrence count. More...

#include <SqlBackup.hpp>

Public Attributes

std::string sqlState
 SQLSTATE reported by the driver (may be empty).
 
std::string message
 Message of the first occurrence, cut to at most 200 bytes (at a UTF-8 character boundary).
 
std::uint64_t occurrences {}
 Number of failures sharing this reason.
 
std::vector< std::string > sampleKeys
 A few example row keys (at most MaxSampleKeysPerReason).
 

Detailed Description

One distinct failure cause of a table, with its occurrence count.

Definition at line 466 of file SqlBackup.hpp.

Member Data Documentation

◆ sqlState

std::string Lightweight::SqlBackup::FailureReason::sqlState

SQLSTATE reported by the driver (may be empty).

Definition at line 469 of file SqlBackup.hpp.

◆ message

std::string Lightweight::SqlBackup::FailureReason::message

Message of the first occurrence, cut to at most 200 bytes (at a UTF-8 character boundary).

Definition at line 471 of file SqlBackup.hpp.

◆ occurrences

std::uint64_t Lightweight::SqlBackup::FailureReason::occurrences {}

Number of failures sharing this reason.

Definition at line 473 of file SqlBackup.hpp.

◆ sampleKeys

std::vector<std::string> Lightweight::SqlBackup::FailureReason::sampleKeys

A few example row keys (at most MaxSampleKeysPerReason).

Definition at line 475 of file SqlBackup.hpp.


The documentation for this struct was generated from the following file: