Source code for usp.exceptions
"""Exceptions used by the sitemap parser."""
[docs]class SitemapException(Exception):
"""
Problem due to which we can't run further, e.g. wrong input parameters.
"""
pass
[docs]class SitemapXMLParsingException(Exception):
"""
XML parsing exception to be handled gracefully.
"""
pass
[docs]class GunzipException(Exception):
"""
gunzip() exception.
"""
pass
[docs]class StripURLToHomepageException(Exception):
"""
strip_url_to_homepage() exception.
"""
pass