Better error handling in get attribute or get item for Config class
Better error handling in get attribute or get item for Config class