module documentation
(source)

HAProxy specific exceptions.
Class ​Invalid​Network​Protocol The network protocol was not one of TCP4 TCP6 or UNKNOWN.
Class ​Invalid​Proxy​Header The provided PROXY protocol header is invalid.
Class ​Missing​Address​Data The address data is missing or incomplete.
Function convert​Error Convert an error into a different error type.
@contextlib.contextmanager
def convertError(sourceType, targetType): (source)
Convert an error into a different error type.
Parameters
source​Type:ExceptionThe type of exception that should be caught and converted.
target​Type:ExceptionThe type of exception to which the original should be converted.