Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/brianc/node-postgres
/ readError
Function
readError
packages/pg-native/lib/copy-stream.js:119–122 ·
view source on GitHub ↗
(message)
Source
from the content-addressed store, hash-verified
117
}
118
119
const
readError =
function
(message) {
120
cleanup()
121
return
cb(
new
Error(message || pq.errorMessage()))
122
}
123
124
const
onReadable =
function
() {
125
// read waiting data from the socket
Callers
1
onReadable
Function · 0.85
Calls
2
cleanup
Function · 0.85
cb
Function · 0.85
Tested by
no test coverage detected