1package hns 2 3import "fmt" 4 5//go:generate go run ../../mksyscall_windows.go -output zsyscall_windows.go hns.go 6 7//sys _hnsCall(method string, path string, object string, response **uint16) (hr error) = vmcompute.HNSCall? 8 9type EndpointNotFoundError struct { 10 EndpointName string 11} 12 13func (e EndpointNotFoundError) Error() string { 14 return fmt.Sprintf("Endpoint %s not found", e.EndpointName) 15} 16 17type NetworkNotFoundError struct { 18 NetworkName string 19} 20 21func (e NetworkNotFoundError) Error() string { 22 return fmt.Sprintf("Network %s not found", e.NetworkName) 23} 24