Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/WireGuard/wireguard-go
/ ErrorCode
Method
ErrorCode
device/uapi.go:37–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
}
36
37
func
(s IPCError) ErrorCode() int64 {
38
return
s.code
39
}
40
41
func
ipcErrorf(code int64, msg string, args ...any) *IPCError {
42
return
&IPCError{code: code, err: fmt.Errorf(msg, args...)}
Callers
1
IpcHandle
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected