config_parser: Improve message for invalid names
This commit is contained in:
parent
5a695c7065
commit
0276d11fd9
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class invalid_name_error : public syntax_error {
|
||||||
* type is either Header or Key
|
* type is either Header or Key
|
||||||
*/
|
*/
|
||||||
invalid_name_error(const string& type, const string& name)
|
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…
Add table
Add a link
Reference in a new issue