config_parser: Improve message for invalid names
This commit is contained in:
parent
5a695c7065
commit
0276d11fd9
@ -41,7 +41,7 @@ class invalid_name_error : public syntax_error {
|
||||
* type is either Header or Key
|
||||
*/
|
||||
invalid_name_error(const string& type, const string& name)
|
||||
: syntax_error(type + " '" + name + "' contains forbidden characters.") {}
|
||||
: syntax_error(type + " name '" + name + "' is empty or contains forbidden characters.") {}
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user