Lines Matching defs:URLError
20 a Request instance instead of URL. Raises a URLError (subclass of
102 from urllib.error import URLError, HTTPError, ContentTooShortError
1192 raise URLError("qop '%s' is not supported." % qop)
1272 raise URLError('no host given')
1314 raise URLError('no host given')
1351 raise URLError(err)
1419 raise URLError('unknown url type: %s' % type)
1481 raise URLError("file:// scheme is supported only on localhost")
1522 raise URLError(exp)
1523 raise URLError('file not on local host')
1537 raise URLError('ftp error: no host given')
1557 raise URLError(msg)
1582 raise URLError(exp) from exp
1790 except (HTTPError, URLError):
1951 raise URLError("http protocol error: bad status line")
2001 raise URLError('file error: proxy support for file protocol currently not implemented')
2016 raise URLError(e.strerror, e.filename)
2037 raise URLError('local file error: not on local host')
2042 raise URLError('ftp error: proxy support for ftp protocol currently not implemented')
2045 if not host: raise URLError('ftp error: no host given')
2095 raise URLError(f'ftp error: {exp}') from exp
2100 raise URLError('data error: proxy support for data protocol currently not implemented')
2445 raise URLError(f'ftp error: {reason}') from reason
2456 raise URLError('ftp error: %r' % reason) from reason