MCPcopy Create free account
hub / github.com/encodeous/nylon / ipcErrorf

Function ipcErrorf

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

Source from the content-addressed store, hash-verified

43}
44
45func ipcErrorf(code int64, msg string, args ...any) *IPCError {
46 return &IPCError{code: code, err: fmt.Errorf(msg, args...)}
47}
48
49var byteBufferPool = &sync.Pool{
50 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