Make ConfigSingleton::getLastError private