Struct RuntimeFailure

Struct Documentation

struct RuntimeFailure

Bounded owned diagnostic text; it never borrows the original exception.

Public Functions

inline std::string_view phase_text() const noexcept

Declaration: [[nodiscard]]

Borrow this summary’s phase text; keep the RuntimeFailure value alive.

inline std::string_view message_text() const noexcept

Declaration: [[nodiscard]]

Borrow this summary’s message text; keep the RuntimeFailure value alive.

Public Members

std::array<char, 64> phase = {}

NUL-terminated owned phase summary.

std::array<char, 192> message = {}

NUL-terminated owned exception summary.

bool present = false

A failure was captured; false means no summary.

bool truncated = false

At least one text field exceeded retained capacity.