function construct_dir_path_error(dirName,errorCreateMsg)
errorMsg = getString(message('Stateflow:sfprivate:UnableToCreateDirectory',dirName));
errorMsg = [errorMsg,10,10,errorCreateMsg];
sfprivate('construct_error',[], 'Build', errorMsg, 1);
