MayaFlux 0.1.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 167 of file Promise.hpp.

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