Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::Error Struct Reference

Why something failed. More...

#include <expected.h>

Public Attributes

QString message
 What went wrong, in a sentence for a person (or a model) to read.
ErrorKind kind = ErrorKind::Failed
 What kind of error it is.

Detailed Description

Why something failed.

A struct rather than a QString, so that it can get more fields, such as a code, without breaking code that uses it.


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