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

Function ErrorResponse

deno/src/connection.js:815–822  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

813 }
814
815 function ErrorResponse(x) {
816 if (query) {
817 (query.cursorFn || query.describeFirst) && write(Sync)
818 errorResponse = Errors.postgres(parseError(x))
819 } else {
820 errored(Errors.postgres(parseError(x)))
821 }
822 }
823
824 function retry(q, error) {
825 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