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

Thrown by OutboxRelay::relay() when sink is null. More...

#include <outbox.hpp>

Inheritance diagram for morph::journal::NullSinkError:

Detailed Description

Thrown by OutboxRelay::relay() when sink is null.

A null drainOutbox/markRelayed already throws a catchable std::bad_function_call (invoking a null std::function); this makes a null sink consistent with that instead of a raw null-shared_ptr dereference, which is real undefined behavior and not portably catchable.

Definition at line 22 of file outbox.hpp.


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