more helpful exception message when a parameter in DI config is missing