DownloadError

exception DownloadError(backend: DownloadBackend, url: str, path: Path, exc: urllib.error.URLError | requests.exceptions.ConnectionError)[source]

An error that wraps information from a requests or urllib download failure.

Initialize the error.

Parameters:
  • backend – The backend used

  • url – The url that failed to download

  • path – The path that was supposed to be downloaded to

  • exc – The exception raised