Use "Contact the LAMMPS developers" consistently and add an errorurl() to such errors

This commit is contained in:
Axel Kohlmeyer
2025-03-27 19:04:32 -04:00
parent c3309bc0b3
commit 8949a6262d
6 changed files with 43 additions and 11 deletions

View File

@ -855,7 +855,7 @@ int Variable::next(int narg, char **arg)
if (nextindex < 0)
error->one(FLERR,"Unexpected error while incrementing uloop style variable. "
"Please contact the LAMMPS developers.");
"Please contact the LAMMPS developers." + utils::errorurl(35));
fp = fopen("tmp.lammps.variable.lock","w");
fprintf(fp,"%d\n",nextindex+1);