net.AddrError.Err (field)
24 uses
net (current package)
dial.go#L278: return nil, &AddrError{Err: "mismatched local address type", Addr: hint.String()}
dial.go#L306: return nil, &AddrError{Err: "mismatched local address type", Addr: hint.String()}
dial.go#L327: return nil, &AddrError{Err: errNoSuitableAddress.Error(), Addr: hint.String()}
dial.go#L661: return nil, &OpError{Op: "dial", Net: sd.network, Source: la, Addr: ra, Err: &AddrError{Err: "unexpected address type", Addr: sd.address}}
dial.go#L737: return nil, &OpError{Op: "listen", Net: sl.network, Source: nil, Addr: la, Err: &AddrError{Err: "unexpected address type", Addr: address}}
dial.go#L769: return nil, &OpError{Op: "listen", Net: sl.network, Source: nil, Addr: la, Err: &AddrError{Err: "unexpected address type", Addr: address}}
ip.go#L335: return nil, &AddrError{Err: "invalid IP address", Addr: hexString(ip)}
ipsock.go#L140: return nil, &AddrError{Err: errNoSuitableAddress.Error(), Addr: originalAddr}
ipsock.go#L170: return "", "", &AddrError{Err: why, Addr: addr}
ipsock_posix.go#L151: return syscall.SockaddrInet4{}, &AddrError{Err: "non-IPv4 address", Addr: ip.String()}
ipsock_posix.go#L176: return syscall.SockaddrInet6{}, &AddrError{Err: "non-IPv6 address", Addr: ip.String()}
ipsock_posix.go#L198: return nil, &AddrError{Err: "invalid address family", Addr: ip.String()}
ipsock_posix.go#L206: return syscall.SockaddrInet4{}, &AddrError{Err: "non-IPv4 address", Addr: addr.String()}
ipsock_posix.go#L224: return syscall.SockaddrInet6{}, &AddrError{Err: "non-IPv6 address", Addr: addr.String()}
lookup.go#L72: return 0, &AddrError{Err: "unknown IP protocol specified", Addr: name}
lookup.go#L100: return 0, &AddrError{Err: "unknown port", Addr: network + "/" + service}
lookup.go#L425: return 0, &AddrError{Err: "unknown network", Addr: network}
lookup.go#L433: return 0, &AddrError{Err: "invalid port", Addr: service}
mac.go#L85: return nil, &AddrError{Err: "invalid MAC address", Addr: s}
net.go#L551: Err string
net.go#L559: s := e.Err
udpsock_posix.go#L135: return 0, &AddrError{Err: "invalid address family", Addr: addr.IP.String()}
udpsock_posix.go#L161: return 0, &AddrError{Err: "invalid address family", Addr: addr.Addr().String()}
udpsock_posix.go#L201: return 0, 0, &AddrError{Err: "invalid address family", Addr: addr.Addr().String()}
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |