|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Thrown to a pending Completion when the server-side morph::backend::LimitPolicy::executeTimeout elapses before the model's action replies. More...
#include <backend.hpp>
Public Member Functions | |
| TimeoutError () | |
| Constructs the error with a canned diagnostic message. | |
Thrown to a pending Completion when the server-side morph::backend::LimitPolicy::executeTimeout elapses before the model's action replies.
The action keeps running to completion on its strand — morph never interrupts an in-flight Model::execute — but the caller's wait is bounded. Distinguishes a timeout from any other err reply (a generic std::runtime_error on QtWebSocketBackend / SimulatedRemoteBackend), so callers can retry or surface a specific "request timed out" message. See docs/spec/core/backend.md (LimitPolicy).
Definition at line 636 of file backend.hpp.
|
inline |
Constructs the error with a canned diagnostic message.
Definition at line 638 of file backend.hpp.