MCPcopy Create free account
hub / github.com/pion/ice / Error

Method Error

addr.go:88–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86}
87
88func (e ipConvertError) Error() string {
89 return fmt.Sprintf("failed to convert IP '%s' to netip.Addr", e.ip)
90}
91
92func ipAddrToNetIP(ip []byte, zone string) (netip.Addr, error) {
93 netIPAddr, ok := netip.AddrFromSlice(ip)

Callers 1

TestIPConvertError_ErrorFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestIPConvertError_ErrorFunction · 0.76