MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ domain_mismatch_error()

template<typename RoutineType >
void MayaFlux::Vruta::routine_promise< RoutineType >::domain_mismatch_error ( const std::string &  awaiter_name,
const std::string &  suggestion 
)
inline

Definition at line 169 of file Promise.hpp.

170 {
171 set_state("domain_error", awaiter_name + ": " + suggestion);
172 should_terminate = true;
173 }
void set_state(const std::string &key, T value)
Stores a value in the state dictionary.
Definition Promise.hpp:141
bool should_terminate
Flag indicating whether the coroutine should be terminated.
Definition Promise.hpp:100