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

Function error

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

Source from the content-addressed store, hash-verified

379 }
380
381 function error(err) {
382 if (connection.queue === queues.connecting && options.host[retries + 1])
383 return
384
385 errored(err)
386 while (sent.length)
387 queryError(sent.shift(), err)
388 }
389
390 function errored(err) {
391 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