MCPcopy
hub / github.com/brianc/node-postgres / copyFail

Function copyFail

packages/pg-protocol/src/serializer.ts:248–250  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

246}
247
248const copyFail = (message: string): Buffer => {
249 return cstringMessage(code.copyFail, message)
250}
251
252const codeOnlyBuffer = (code: code): Buffer => Buffer.from([code, 0x00, 0x00, 0x00, 0x04])
253

Callers

nothing calls this directly

Calls 1

cstringMessageFunction · 0.85

Tested by

no test coverage detected