fn cvt_cb_res_t<T>( res: Result<Result<T, String>, Box<dyn Any + Send>>, f: impl FnOnce(T), ) -> LLVMErrorRef