MCPcopy Create free account
hub / github.com/porsager/postgres / errored

Function errored

cjs/src/connection.js:390–394  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

388 }
389
390 function errored(err) {
391 stream && (stream.destroy(err), stream = null)
392 query && queryError(query, err)
393 initial && (queryError(initial, err), initial = null)
394 }
395
396 function queryError(query, err) {
397 if (query.reserve)

Callers 10

executeFunction · 0.70
connectTimedOutFunction · 0.70
dataFunction · 0.70
errorFunction · 0.70
ReadyForQueryFunction · 0.70
CommandCompleteFunction · 0.70
SASLFinalFunction · 0.70
ErrorResponseFunction · 0.70
FunctionCallResponseFunction · 0.70
NegotiateProtocolVersionFunction · 0.70

Calls 1

queryErrorFunction · 0.70

Tested by

no test coverage detected