MCPcopy Create free account
hub / github.com/Effect-TS/effect / failDesync

Function failDesync

packages/sql/pg/src/PgConnection.ts:2153–2154  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

2151 onFatal(error)
2152 }
2153 const failDesync = (message: string): void =>
2154 failFatal(connectionQueryError(new Error(message), `PgConnection: ${message}`))
2155
2156 const onMessage = (message: PgProtocol.BackendMessage<unknown>): void => {
2157 if (aborted) {

Callers 2

onMessageFunction · 0.85
onDecodeFailureFunction · 0.85

Calls 2

failFatalFunction · 0.85
connectionQueryErrorFunction · 0.85

Tested by

no test coverage detected