HAProxy specific exceptions.

Class InvalidProxyHeader The provided PROXY protocol header is invalid.
Class InvalidNetworkProtocol The network protocol was not one of TCP4 TCP6 or UNKNOWN.
Class MissingAddressData The address data is missing or incomplete.
Function convertError Convert an error into a different error type.
@contextlib.contextmanager
def convertError(sourceType, targetType):

Convert an error into a different error type.

ParameterssourceTypeThe type of exception that should be caught and converted. (type: Exception)
targetTypeThe type of exception to which the original should be converted. (type: Exception)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.