macro_rules! handle_thread_error_with_error {
    ($func: expr, $error: expr) => { ... };
}