morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::backend::BackendChangedError Struct Reference

Thrown to in-flight Completions when Bridge::switchBackend() runs. More...

#include <backend.hpp>

Inheritance diagram for morph::backend::BackendChangedError:

Public Member Functions

 BackendChangedError ()
 Constructs the error with a canned diagnostic message.

Detailed Description

Thrown to in-flight Completions when Bridge::switchBackend() runs.

Surfaces in the .onError(...) callback so the GUI can retry on the new backend or surface a "backend changed" message — there is no public cancel API on Completion itself.

Definition at line 600 of file backend.hpp.

Constructor & Destructor Documentation

◆ BackendChangedError()

morph::backend::BackendChangedError::BackendChangedError ( )
inline

Constructs the error with a canned diagnostic message.

Definition at line 602 of file backend.hpp.


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