11.22.6 ProtocolError Objects
A ProtocolError object describes a protocol error in the underlying transport layer (such as a 404 `not found' error if the server named by the URI does not exist). It has the following members:
- The URI or URL that triggered the error.
- The error code.
- The error message or diagnostic string.
- A string containing the headers of the HTTP/HTTPS request that triggered the error.
See About this document... for information on suggesting changes.