Add error messages in Config::get and Config::getInt