add error measure framework with QtConcurrent::run errors