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

Method enqueueError

packages/pg/lib/client.js:132–136  ·  view source on GitHub ↗
(query)

Source from the content-addressed store, hash-verified

130
131 _errorAllQueries(err) {
132 const enqueueError = (query) => {
133 process.nextTick(() => {
134 query.handleError(err, this.connection)
135 })
136 }
137
138 const activeQuery = this._getActiveQuery()
139 if (activeQuery) {

Callers

nothing calls this directly

Calls 1

handleErrorMethod · 0.45

Tested by

no test coverage detected