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

Thrown to stop the command: main() prints the message, if any, and exits with the status. More...

#include <common.h>

Inheritance diagram for Sonde::Cli::Exit:

Public Member Functions

 Exit (QString text, int exitStatus)
 Stops with text (none if empty) and exitStatus.

Public Attributes

QString message
 Printed after "sonde: " on stderr; nothing if empty.
int status
 The exit status.

Detailed Description

Thrown to stop the command: main() prints the message, if any, and exits with the status.


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