Source code for exceptions.connection

"""Module that defines exceptions related to connection problems.

These are the exceptions that are raised when querying a server for a resource.

"""


[docs]class HTTP404Error(Exception): """Raised if the server returns a 404 status code because the webpage is not found."""