add missing link and expand docs for Unknown identifier in data file error

This commit is contained in:
Axel Kohlmeyer
2024-03-26 23:27:44 -04:00
parent c4eadd3a59
commit b01efd96a5
2 changed files with 24 additions and 11 deletions

View File

@ -1360,7 +1360,8 @@ void ReadData::header(int firstpass)
// check that exiting string is a valid section keyword
parse_keyword(1);
if (!is_data_section(keyword)) error->all(FLERR, "Unknown identifier in data file: {}", keyword);
if (!is_data_section(keyword))
error->all(FLERR, "Unknown identifier in data file: {}{}", keyword, utils::errorurl(1));
// error checks on header values
// must be consistent with atom style and other header values