usp.exceptions

Exceptions used by the sitemap parser.

exception usp.exceptions.GunzipException

Error decompressing seemingly gzipped content. See usp.helpers.gunzip().

exception usp.exceptions.SitemapException

Problem due to which we can’t run further, e.g. wrong input parameters.

exception usp.exceptions.SitemapXMLParsingException

XML parsing exception to be handled gracefully.

exception usp.exceptions.StripURLToHomepageException

Problem parsing URL and stripping to homepage. See usp.helpers.strip_url_to_homepage().