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

Thrown to a pending Completion when the server-side morph::backend::LimitPolicy::executeTimeout elapses before the model's action replies. More...

#include <backend.hpp>

Inheritance diagram for morph::backend::TimeoutError:

Public Member Functions

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ TimeoutError()

morph::backend::TimeoutError::TimeoutError ( )
inline

Constructs the error with a canned diagnostic message.

Definition at line 638 of file backend.hpp.


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