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

Function error

deno/src/connection.js:384–391  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

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