mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
Loading...
Searching...
No Matches
RuntimeError Struct Reference

Structured runtime-layer failure with user-facing and diagnostic text. More...

#include <transcriptiontypes.h>

Public Member Functions

bool isOk () const
 Reports whether this value represents success.
 

Public Attributes

RuntimeErrorCode code = RuntimeErrorCode::None
 Stable error category for programmatic handling and tests.
 
QString message
 Human-readable summary safe to surface in logs or UI.
 
QString detail
 Optional extra context for diagnostics.
 

Detailed Description

Structured runtime-layer failure with user-facing and diagnostic text.

Definition at line 38 of file transcriptiontypes.h.

Member Function Documentation

◆ isOk()

bool RuntimeError::isOk ( ) const
inline

Reports whether this value represents success.

Returns
true when no runtime error is present.

Definition at line 50 of file transcriptiontypes.h.

Member Data Documentation

◆ code

RuntimeErrorCode RuntimeError::code = RuntimeErrorCode::None

Stable error category for programmatic handling and tests.

Definition at line 40 of file transcriptiontypes.h.

◆ detail

QString RuntimeError::detail

Optional extra context for diagnostics.

Definition at line 44 of file transcriptiontypes.h.

◆ message

QString RuntimeError::message

Human-readable summary safe to surface in logs or UI.

Definition at line 42 of file transcriptiontypes.h.


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