pyrosm.exceptions.ExtractDownloadError

pyrosm.exceptions.ExtractDownloadError#

exception pyrosm.exceptions.ExtractDownloadError(message, failed=(), url=None, status=None, attempts=None, errors=())#

No extract that contains the requested area could be downloaded.

failed#

(url, error message) for every extract that was tried.

Type:

list of (str, str)

errors#

The DownloadError of every extract that was tried, in the order of failed.

Type:

list of DownloadError

url, status, attempts

Set on a DownloadError for its one URL: the URL, the HTTP status of the last attempt (None for a network error) and the number of attempts; None here.