Lines Matching refs:URLError
102 from urllib.error import URLError, HTTPError, ContentTooShortError
1186 raise URLError("qop '%s' is not supported." % qop)
1266 raise URLError('no host given')
1308 raise URLError('no host given')
1345 raise URLError(err)
1413 raise URLError('unknown url type: %s' % type)
1475 raise URLError("file:// scheme is supported only on localhost")
1516 raise URLError(exp)
1517 raise URLError('file not on local host')
1531 raise URLError('ftp error: no host given')
1551 raise URLError(msg)
1576 exc = URLError('ftp error: %r' % exp)
1785 except (HTTPError, URLError):
1946 raise URLError("http protocol error: bad status line")
1996 raise URLError('file error: proxy support for file protocol currently not implemented')
2011 raise URLError(e.strerror, e.filename)
2032 raise URLError('local file error: not on local host')
2037 raise URLError('ftp error: proxy support for ftp protocol currently not implemented')
2040 if not host: raise URLError('ftp error: no host given')
2090 raise URLError('ftp error %r' % exp).with_traceback(sys.exc_info()[2])
2095 raise URLError('data error: proxy support for data protocol currently not implemented')
2433 raise URLError('ftp error: %r' % reason).with_traceback(
2445 raise URLError('ftp error: %r' % reason) from reason