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

Function error

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

Source from the content-addressed store, hash-verified

381 }
382
383 function error(err) {
384 if (connection.queue === queues.connecting && options.host[retries + 1])
385 return
386
387 errored(err)
388 while (sent.length)
389 queryError(sent.shift(), err)
390 }
391
392 function errored(err) {
393 stream && (stream.destroy(err), stream = null)

Callers 4

createSocketFunction · 0.70
connectedFunction · 0.70
terminateFunction · 0.70
closedFunction · 0.70

Calls 2

erroredFunction · 0.70
queryErrorFunction · 0.70

Tested by

no test coverage detected