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): (source)

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 2018-10-15 19:29:43.