MayaFlux 1.0.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 550 of file ComputeMatrix.hpp.

551 {
552 m_last_error = e.what();
553 m_last_error_type = op_type;
554
555 if (m_error_callback) {
556 m_error_callback(e, op_type);
557 }
558 }
std::function< void(const std::exception &, const std::type_index &)> m_error_callback