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

◆ handle_execution_error()

void MayaFlux::Yantra::ComputeMatrix::handle_execution_error ( const std::exception &  e,
const std::type_index &  op_type 
)
inlineprivate

Handle execution errors.

Definition at line 485 of file ComputeMatrix.hpp.

486 {
487 m_last_error = e.what();
488 m_last_error_type = op_type;
489
490 if (m_error_callback) {
491 m_error_callback(e, op_type);
492 }
493 }
std::function< void(const std::exception &, const std::type_index &)> m_error_callback