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

Function ErrorResponse

cf/src/connection.js:814–821  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

812 }
813
814 function ErrorResponse(x) {
815 if (query) {
816 (query.cursorFn || query.describeFirst) && write(Sync)
817 errorResponse = Errors.postgres(parseError(x))
818 } else {
819 errored(Errors.postgres(parseError(x)))
820 }
821 }
822
823 function retry(q, error) {
824 delete statements[q.signature]

Callers

nothing calls this directly

Calls 3

writeFunction · 0.70
parseErrorFunction · 0.70
erroredFunction · 0.70

Tested by

no test coverage detected