MCPcopy Index your code
hub / github.com/brianc/node-postgres / enqueueError

Function enqueueError

packages/pg/lib/native/client.js:67–72  ·  view source on GitHub ↗
(query)

Source from the content-addressed store, hash-verified

65
66Client.prototype._errorAllQueries = function (err) {
67 const enqueueError = (query) => {
68 process.nextTick(() => {
69 query.native = this.native
70 query.handleError(err)
71 })
72 }
73
74 if (this._hasActiveQuery()) {
75 enqueueError(this._activeQuery)

Callers 2

_errorAllQueriesMethod · 0.85
client.jsFile · 0.85

Calls 1

handleErrorMethod · 0.45

Tested by

no test coverage detected