MCPcopy
hub / github.com/WireGuard/wireguard-go / ipcErrorf

Function ipcErrorf

device/uapi.go:41–43  ·  view source on GitHub ↗
(code int64, msg string, args ...any)

Source from the content-addressed store, hash-verified

39}
40
41func ipcErrorf(code int64, msg string, args ...any) *IPCError {
42 return &IPCError{code: code, err: fmt.Errorf(msg, args...)}
43}
44
45var byteBufferPool = &sync.Pool{
46 New: func() any { return new(bytes.Buffer) },

Callers 6

IpcGetOperationMethod · 0.85
IpcSetOperationMethod · 0.85
handleDeviceLineMethod · 0.85
handlePublicKeyLineMethod · 0.85
handlePeerLineMethod · 0.85
IpcHandleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected