MCPcopy
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
37func (s IPCError) ErrorCode() int64 {
38 return s.code
39}
40
41func ipcErrorf(code int64, msg string, args ...any) *IPCError {
42 return &IPCError{code: code, err: fmt.Errorf(msg, args...)}

Callers 1

IpcHandleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected