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

Method failDesync

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

Source from the content-addressed store, hash-verified

1777 }
1778
1779 private failDesync(message: string): void {
1780 const error = connectionQueryError(new Error(message), `PgConnection: ${message}`)
1781 this.conn.fatal(error)
1782 this.onFatal(error)
1783 }
1784
1785 onFatal(error: SqlError): void {
1786 if (this.done) return

Callers 2

onDecodeFailureMethod · 0.95
onMessageMethod · 0.95

Calls 3

onFatalMethod · 0.95
connectionQueryErrorFunction · 0.85
fatalMethod · 0.80

Tested by

no test coverage detected