'Check if proxy can\'t be resolved.
Return:
None if proxy is correct, otherwise an error message.'

def get_error(self):

    proxy = config.get('network', 'proxy')
    if isinstance(proxy, pac.PACFetcher):
        return proxy.fetch_error()
    else:
        return None
