You can use `MCresult -> setvalueref(*t_open_res_error_string)`