Raise specific errors instead of ConfigNamesError when appropriate
It will help show them better in moonlanding

see #3010
Raise specific errors instead of ConfigNamesError when appropriate: It will help show them better in moonlanding

see #3010