func ProxyType(err error) string {
	proxyErr, ok := errors.Cause(err).(*proxyConnectError)
	if !ok {
		return ""
	}
	return proxyErr.proxyType
}
// ProxyType returns the type of proxy which generated
// the specified proxy connect error.
ProxyType returns the type of proxy which generated
the specified proxy connect error.
// ProxyType returns the type of proxy which generated // the specified proxy connect error .
func ProxyType(err error) string {
	proxyErr, ok := errors.Cause(err).(*proxyConnectError)
	if !ok {
		return ""
	}
	return proxyErr.proxyType
}
func ProxyType ( err error ) string { proxyErr , ok := errors . Cause ( err ) . ( * proxyConnectError ) if ! ok { return " " } return proxyErr . proxyType }
ProxyType returns the type of proxy which generated
the specified proxy connect error.
ProxyType returns the type of proxy which generated the specified proxy connect error .